PKGBUILDs/alarm/marvell-libbmm/PKGBUILD
2012-06-05 18:16:21 -04:00

30 lines
793 B
Bash

# 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"
}
md5sums=('7dd1b311232b0ebe0ca4538844c47806')