PKGBUILDs/alarm/marvell-libbmm/PKGBUILD

33 lines
867 B
Bash
Raw Normal View History

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
pkgrel=1
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}"
mkdir -p "${pkgdir}/usr/lib"
cp libbmm.so.0u.1 "${pkgdir}/usr/lib"
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"
2012-06-05 22:32:06 +00:00
mkdir -p "${pkgdir}/usr/include"
cp bmm_lib.h "${pkgdir}/usr/include"
2012-06-05 22:16:21 +00:00
}
md5sums=('7dd1b311232b0ebe0ca4538844c47806')