2014-02-19 15:09:32 +00:00
|
|
|
# Maintainer: CruX <crux@project-insanity.org>
|
|
|
|
# Contributor: pepedog at archlinuxarm dot com
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
pkgname=firmware-imx
|
2015-04-24 11:28:32 +00:00
|
|
|
pkgver=3.14.28_1.0.0
|
2014-02-19 15:09:32 +00:00
|
|
|
_pkgver=${pkgver/_/-}
|
2014-04-25 08:38:48 +00:00
|
|
|
pkgrel=1
|
2014-02-19 15:09:32 +00:00
|
|
|
pkgdesc="Freescale proprietary firmware for i.MX6 SoC"
|
|
|
|
url="https://community.freescale.com/docs/DOC-95560"
|
|
|
|
arch=('armv7h')
|
|
|
|
license=('proprietay')
|
|
|
|
source=("http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/${pkgname}-${_pkgver}.bin")
|
2015-04-24 11:28:32 +00:00
|
|
|
md5sums=('6e700f3d3a6482db08d5aabee7751630')
|
2014-02-19 15:09:32 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}"
|
2015-04-24 11:28:32 +00:00
|
|
|
#extract the firmware
|
2014-02-19 16:09:11 +00:00
|
|
|
sh ${pkgname}-${_pkgver}.bin --force --auto-accept
|
2014-02-19 15:09:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-04-04 08:23:49 +00:00
|
|
|
mkdir -p "${pkgdir}/usr/lib/firmware/vpu"
|
2015-04-24 11:28:32 +00:00
|
|
|
cp -r "${srcdir}/${pkgname}-${_pkgver}/firmware/vpu/"* "${pkgdir}/usr/lib/firmware/vpu"
|
2014-02-19 15:09:32 +00:00
|
|
|
|
2015-04-24 11:28:32 +00:00
|
|
|
install -D -m0644 "${srcdir}/${pkgname}-${_pkgver}/COPYING" "$pkgdir/opt/fsl/licenses/LICENSE.${pkgname}"
|
2014-02-19 15:09:32 +00:00
|
|
|
mkdir -p "${pkgdir}/etc/ld.so.conf.d"
|
|
|
|
echo "/opt/fsl/lib" > "${pkgdir}/etc/ld.so.conf.d/$pkgname.conf"
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|