# Maintainer: Manuel Rotter pkgname=libmp4v2 pkgver=1.6 pkgrel=1 pkgdesc="MPEG-4 library and tools from mpeg4ip" arch=('arm') license=('custom') url="http://mpeg4ip.sourceforge.net/" depends=('gcc-libs') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/mpeg4ip/mpeg4ip-${pkgver}.tar.gz) md5sums=('004b481542e5aa9fdb455d9a1b640eff') build() { cd ${startdir}/src/mpeg4ip-${pkgver} touch bootstrapped echo "" > lib/rtp/configure echo "" > lib/SDLAudio/configure ./configure --prefix=/usr || return 1 for dir in lib/gnu lib/mp4av lib/mp4v2; do cd ${startdir}/src/mpeg4ip-${pkgver}/${dir} make || return 1 make DESTDIR=${startdir}/pkg install || return 1 done install -m644 ${startdir}/src/mpeg4ip-${pkgver}/include/mpeg4ip{,_version}.h ${startdir}/pkg/usr/include/ || return 1 install -m644 $startdir/src/mpeg4ip-$pkgver/mpeg4ip_config.h $startdir/pkg/usr/include/ || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 ${srcdir}/mpeg4ip-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }