2012-06-05 22:16:21 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
# Armada 510/Dove Block/buffer memory management for hardware accelerators
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname="marvell-libbmm"
|
|
|
|
pkgver=0.2.0
|
2012-08-31 16:40:22 +00:00
|
|
|
pkgrel=2
|
2012-06-05 22:16:21 +00:00
|
|
|
arch=('armv7h')
|
|
|
|
url="http://archlinuxarm.org"
|
|
|
|
license=('Proprietary')
|
|
|
|
source=("http://archlinuxarm.org/builder/src/marvell-libbmm-0.2.0.tar.gz")
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make -j1 -f Makefile_general
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
pkgdesc="Marvell Block/buffer memory management for hardware accelerators"
|
|
|
|
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-08-31 16:40:22 +00:00
|
|
|
install -Dm755 libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u.1"
|
|
|
|
install -Dm644 bmm_lib.h "${pkgdir}/usr/include/bmm_lib.h"
|
|
|
|
install -Dm644 etc/udev/rules.d/99-bmm.rules \
|
|
|
|
"${pkgdir}/usr/lib/udev/rules.d/99-bmm.rules"
|
2012-06-05 22:16:21 +00:00
|
|
|
ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u"
|
|
|
|
ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so"
|
|
|
|
}
|
|
|
|
|
|
|
|
md5sums=('7dd1b311232b0ebe0ca4538844c47806')
|