mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added alarm/libimxvpuapi
This commit is contained in:
parent
8d79bfc6a9
commit
2a3dd654da
1 changed files with 34 additions and 0 deletions
34
alarm/libimxvpuapi/PKGBUILD
Normal file
34
alarm/libimxvpuapi/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgname=libimxvpuapi
|
||||
pkgver=0.10.1
|
||||
pkgrel=1
|
||||
pkgdesc="i.MX VPU API Library"
|
||||
arch=('armv7h')
|
||||
license=('LGPL')
|
||||
url="https://github.com/Freescale/libimxvpuapi"
|
||||
depends=('imx-vpu')
|
||||
makedepends=('python2' 'git')
|
||||
source=("git+https://github.com/Freescale/libimxvpuapi.git#tag=${pkgver}")
|
||||
md5sums=('SKIP')
|
||||
|
||||
LDFLAGS+=' -L/opt/fsl/lib'
|
||||
CPPFLAGS+=' -I/opt/fsl/include'
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
|
||||
export PKG_CONFIG_PATH='/opt/fsl/lib/pkgconfig'
|
||||
|
||||
python2 waf configure --prefix=/opt/fsl
|
||||
|
||||
python2 waf build $MAKEFLAGS
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
|
||||
python2 waf install --destdir="$pkgdir"
|
||||
}
|
Loading…
Reference in a new issue