aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fdk-aac/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fdk-aac/APKBUILD')
-rw-r--r--testing/fdk-aac/APKBUILD22
1 files changed, 6 insertions, 16 deletions
diff --git a/testing/fdk-aac/APKBUILD b/testing/fdk-aac/APKBUILD
index 120c99bd76..9def721785 100644
--- a/testing/fdk-aac/APKBUILD
+++ b/testing/fdk-aac/APKBUILD
@@ -8,25 +8,14 @@ url="https://sourceforge.net/projects/opencore-amr/"
arch="all"
license="custom"
depends=""
-depends_dev=""
-makedepends="$depends_dev automake autoconf libtool"
-install=""
+makedepends="automake autoconf libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="fdk-aac-$pkgver.tar.gz::https://github.com/mstorsjo/fdk-aac/archive/v$pkgver.tar.gz"
-
-_builddir="$srcdir"/fdk-aac-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
+
./autogen.sh || return 1
./configure \
--prefix="/usr" \
@@ -36,7 +25,8 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
+
make DESTDIR="$pkgdir" install || return 1
install -Dm644 NOTICE \
"${pkgdir}"/usr/share/licenses/libfdk-aac/NOTICE || return 1