From: Ryan Mullen Date: Sun, 13 Jan 2013 02:26:42 +0000 (-0500) Subject: Introducing marvell-libbmm X-Git-Url: http://gitweb/?a=commitdiff_plain;h=fce81add7168b0683b1dc177e3a6ccfb8d5e2395;p=ports%2Fcubox-arm.git Introducing marvell-libbmm --- diff --git a/marvell-libbmm/.footprint b/marvell-libbmm/.footprint new file mode 100644 index 0000000..05dfd08 --- /dev/null +++ b/marvell-libbmm/.footprint @@ -0,0 +1,10 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/bmm_lib.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libbmm.so -> /usr/lib/libbmm.so.0u.1 +lrwxrwxrwx root/root usr/lib/libbmm.so.0u -> /usr/lib/libbmm.so.0u.1 +-rwxr-xr-x root/root usr/lib/libbmm.so.0u.1 +drwxr-xr-x root/root usr/lib/udev/ +drwxr-xr-x root/root usr/lib/udev/rules.d/ +-rw-r--r-- root/root usr/lib/udev/rules.d/99-bmm.rules diff --git a/marvell-libbmm/.md5sum b/marvell-libbmm/.md5sum new file mode 100644 index 0000000..e8e74e3 --- /dev/null +++ b/marvell-libbmm/.md5sum @@ -0,0 +1 @@ +6387e85fbe85747bc8f646e87a16c407 cubox-packages.tar.gz diff --git a/marvell-libbmm/Pkgfile b/marvell-libbmm/Pkgfile new file mode 100644 index 0000000..bf7e7f0 --- /dev/null +++ b/marvell-libbmm/Pkgfile @@ -0,0 +1,32 @@ +# Description: Armada 510/Dove Block/buffer memory management for hardware accelerators +# URL: http://www.solid-run.com/mw/index.php/Main_Page +# Packager: Ryan Mullen, rmmullen at gmail dot com +# Maintainer: Ryan Mullen, rmmullen at gmail dot com +# Depends on: + +name=marvell-libbmm +version=0.2.0 +release=1 +source=(http://download.solid-run.com/pub/solidrun/cubox/packages/cubox-packages-source/cubox-packages.tar.gz) + +build() { + + # Adapted from Arch ALARM marvell-libbmm + + cd packages/bmm-lib + tar xf marvell-libbmm_$version-0ubuntu1~ppa8.tar.gz + cd lib + + make -j1 -f Makefile_general + + mkdir -p $PKG/usr/lib + mkdir $PKG/usr/include + + install -Dm755 libbmm.so.0u.1 $PKG/usr/lib/libbmm.so.0u.1 + install -Dm644 bmm_lib.h $PKG/usr/include/bmm_lib.h + install -Dm644 etc/udev/rules.d/99-bmm.rules \ + $PKG/usr/lib/udev/rules.d/99-bmm.rules + + ln -s /usr/lib/libbmm.so.0u.1 $PKG/usr/lib/libbmm.so.0u + ln -s /usr/lib/libbmm.so.0u.1 $PKG/usr/lib/libbmm.so +}