mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
867 B
Bash
32 lines
867 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"
|
|
mkdir -p "${pkgdir}/usr/include"
|
|
cp bmm_lib.h "${pkgdir}/usr/include"
|
|
}
|
|
|
|
md5sums=('7dd1b311232b0ebe0ca4538844c47806')
|