diff options
Diffstat (limited to 'main/libao/APKBUILD')
-rw-r--r-- | main/libao/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD index cfffd994b..03a1846a5 100644 --- a/main/libao/APKBUILD +++ b/main/libao/APKBUILD @@ -11,8 +11,15 @@ depends= makedepends="alsa-lib-dev" source="http://downloads.xiph.org/releases/ao/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir/$pkgname-$pkgver" + +prepare() { + cd "$_builddir" + update_config_sub || return 1 +} + build () { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -25,7 +32,7 @@ build () { } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/ao/plugins*/*.la |