alarm/aml-libs-c1 to r11.820b12a-2

This commit is contained in:
Kevin Mihelich 2015-01-19 23:45:52 +00:00
parent 9cb8a07aa2
commit 52915a6992

View file

@ -5,7 +5,7 @@ buildarch=4
pkgname=aml-libs-c1
pkgver=r11.820b12a
pkgrel=1
pkgrel=2
arch=('armv7h')
pkgdesc="ODROID-C1 Amlogic Libraries"
url="http://www.hardkernel.com/"
@ -28,7 +28,15 @@ build() {
package() {
cd c1_aml_libs
install -d "${pkgdir}/usr/include"
install -d "${pkgdir}"/usr/include/{,amports,cutils,ppmgr,amcodec,amadec,amavutils}
install -d "${pkgdir}/etc/ld.so.conf.d"
make DESTDIR="${pkgdir}" install
install -d "${pkgdir}/usr/lib/aml_libs"
install -m755 amadec/libamadec.so amavutils/libamavutils.so amcodec/libamcodec.so "${pkgdir}/usr/lib/aml_libs"
install -m644 amadec/{,include/}*.h "${pkgdir}/usr/include/amadec"
install -m644 amavutils/include/*.h "${pkgdir}/usr/include/amavutils"
install -m644 amavutils/include/cutils/*.h "${pkgdir}/usr/include/cutils"
install -m644 amcodec/include/*.h "${pkgdir}/usr/include/amcodec"
install -m644 amcodec/include/amports/*.h "${pkgdir}/usr/include/amports"
install -m644 amcodec/include/ppmgr/*.h "${pkgdir}/usr/include/ppmgr"
}