PKGBUILDs/extra/faac/PKGBUILD

27 lines
792 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=faac
pkgver=1.28
pkgrel=1
pkgdesc="FAAC is an AAC audio encoder."
arch=('arm')
url="http://www.audiocoding.com/"
license=('GPL' 'custom')
depends=('libmp4v2' 'glibc')
makedepends=('automake' 'autoconf' 'libtool')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('80763728d392c7d789cde25614c878f6')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
find . -type f -print0 | xargs -0 sed -i 's/\r//g'
./bootstrap
./configure --prefix=/usr --with-mp4v2
make || return 1
make DESTDIR=${pkgdir} install
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/libfaac/kiss_fft/COPYING \
${pkgdir}/usr/share/licenses/faac/COPYING.kiss_fft
}