CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libump: Initial commit
authorVictor Martinez <pitillo@ono.com>
Tue, 16 Feb 2016 18:31:14 +0000 (19:31 +0100)
committerVictor Martinez <pitillo@ono.com>
Tue, 16 Feb 2016 18:31:14 +0000 (19:31 +0100)
libump/.footprint [new file with mode: 0644]
libump/.md5sum [new file with mode: 0644]
libump/Pkgfile [new file with mode: 0644]

diff --git a/libump/.footprint b/libump/.footprint
new file mode 100644 (file)
index 0000000..8bc1b0e
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/libump/Pkgfile b/libump/Pkgfile
new file mode 100644 (file)
index 0000000..c947c96
--- /dev/null
@@ -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
+}