PKGBUILDs/extra/faad2/PKGBUILD
2009-09-26 09:35:50 -05:00

22 lines
793 B
Bash

# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=faad2
pkgver=2.7
pkgrel=1
pkgdesc="ISO AAC audio decoder"
arch=('arm')
url="http://www.audiocoding.com/"
license=('custom:GPL')
depends=('glibc')
options=('!libtool' '!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/faac/${pkgname}-${pkgver}.tar.bz2 LICENSE)
md5sums=('4c332fa23febc0e4648064685a3d4332' 'ec95f38142e14fb46c849503897a37a0')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make CFLAGS="${CFLAGS} -fPIC" || return 1
make DESTDIR=${pkgdir} install || return 1
install -m644 common/mp4ff/mp4ff_int_types.h ${pkgdir}/usr/include/mp4ff_int_types.h || return 1
install -D -m644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}