diff options
Diffstat (limited to 'main/faac')
-rw-r--r-- | main/faac/APKBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD index 772192f8ca..85a7307942 100644 --- a/main/faac/APKBUILD +++ b/main/faac/APKBUILD @@ -1,22 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=faac pkgver=1.28 -pkgrel=1 +pkgrel=2 pkgdesc="FAAC is an AAC audio encoder." url="http://www.audiocoding.com/" license="GPL custom" subpackages="$pkgname-dev $pkgname-doc" depends= -makedepends="autoconf automake libtool uclibc++-dev" +makedepends="autoconf automake libtool" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver - export CXX="${UC_CXX:-g++-uc}" ./bootstrap ./configure --prefix=/usr make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install install -D -m644 "$srcdir"/$pkgname-$pkgver/libfaac/kiss_fft/COPYING \ "$pkgdir"/usr/share/licenses/faac/COPYING.kiss_fft |