alarm/imx-vpu to 5.4.32-1

This commit is contained in:
moonman 2016-03-25 02:40:55 -06:00
parent 075a0d1a71
commit abd746fc2b

View file

@ -1,34 +1,33 @@
# Maintainer: CruX <crux@project-insanity.org>
# Contributor: pepedog at archlinuxarm dot com
# Contributor: Oleg Rakhmanov <oleg [at] archlinuxarm [dot] org>
buildarch=4
pkgname=imx-vpu
pkgver=3.14.28_1.0.0
_pkgver=5.4.28
pkgver=5.4.32
pkgrel=1
pkgdesc="Freescale proprietary extensions for i.MX6 SoC"
url="https://community.freescale.com/docs/DOC-95560"
arch=('armv7h')
license=('proprietary')
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${_pkgver}.bin" '99-mxc-vpu.rules')
md5sums=('774455b57aaa12bae2e2cecf39b63ac4'
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${pkgver}.bin" '99-mxc-vpu.rules')
md5sums=('d7bfe9f96169f4637327436a4e848dae'
'b749d82b96a323d8f914c63c65de9f92')
prepare() {
cd "${srcdir}"
#extract the sources
sh ${pkgname}-${_pkgver}.bin --force --auto-accept
sh ${pkgname}-${pkgver}.bin --force --auto-accept
}
build() {
cd "${pkgname}-${_pkgver}"
cd "${pkgname}-${pkgver}"
export PLATFORM="IMX6Q"
make all
}
package() {
cd "${pkgname}-${_pkgver}"
cd "${pkgname}-${pkgver}"
make DEST_DIR="${pkgdir}" install
cd "${pkgdir}"
mkdir -p opt/fsl/include opt/fsl/lib
@ -39,7 +38,7 @@ package() {
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf"
install -D -m0644 "${srcdir}/${pkgname}-${_pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
install -D -m0644 "${srcdir}/${pkgname}-${pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
install -D -m0644 "${srcdir}/99-mxc-vpu.rules" "${pkgdir}/usr/lib/udev/rules.d/99-mxc-vpu.rules"
}