From: Victor Martinez Date: Tue, 16 Feb 2016 18:31:14 +0000 (+0100) Subject: libump: Initial commit X-Git-Url: http://gitweb/?a=commitdiff_plain;h=7e849cd895039ac43ba99a61b92af95f0ade50cd;p=ports%2Forangepipc-arm.git libump: Initial commit --- diff --git a/libump/.footprint b/libump/.footprint new file mode 100644 index 0000000..8bc1b0e --- /dev/null +++ b/libump/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/ump/ +-rw-r--r-- root/root usr/include/ump/ump.h +-rw-r--r-- root/root usr/include/ump/ump_platform.h +-rw-r--r-- root/root usr/include/ump/ump_ref_drv.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libUMP.a +-rwxr-xr-x root/root usr/lib/libUMP.la +lrwxrwxrwx root/root usr/lib/libUMP.so -> libUMP.so.3.0.0 +lrwxrwxrwx root/root usr/lib/libUMP.so.3 -> libUMP.so.3.0.0 +-rwxr-xr-x root/root usr/lib/libUMP.so.3.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libump.pc diff --git a/libump/.md5sum b/libump/.md5sum new file mode 100644 index 0000000..e69de29 diff --git a/libump/Pkgfile b/libump/Pkgfile new file mode 100644 index 0000000..c947c96 --- /dev/null +++ b/libump/Pkgfile @@ -0,0 +1,27 @@ +# Description: Unified Memory Provider, userspace library +# URL: https://github.com/linux-sunxi/libump +# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: + +name=libump +version=git +release=1 +source=() + +build() { + if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then + git clone https://github.com/linux-sunxi/libump.git $PKGMK_SOURCE_DIR/$name + else + cd $PKGMK_SOURCE_DIR/$name && git fetch + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + mkdir -p $PKG/usr/lib + + cd $SRC/$name + autoreconf -i + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +}