aboutsummaryrefslogtreecommitdiffstats
path: root/main/faac/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/faac/APKBUILD')
-rw-r--r--main/faac/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/faac/APKBUILD b/main/faac/APKBUILD
new file mode 100644
index 0000000000..3e523a4d51
--- /dev/null
+++ b/main/faac/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=faac
+pkgver=1.28
+pkgrel=0
+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"
+source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ export CXX="${UC_CXX:-g++-uc}"
+ ./bootstrap
+ ./configure --prefix=/usr
+ 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
+}
+md5sums="80763728d392c7d789cde25614c878f6 faac-1.28.tar.gz"