aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 16:14:47 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 16:14:47 -0300
commite5f7b0f0ac7088b89181212362d45e2c203f295a (patch)
tree52ad71e16b7adb1d54279f4c1862907fa61fd7f9
parentfb29aea7b5093b746bf012e92b9fc65c967dfef6 (diff)
downloadaports-e5f7b0f0ac7088b89181212362d45e2c203f295a.tar.gz
aports-e5f7b0f0ac7088b89181212362d45e2c203f295a.tar.bz2
aports-e5f7b0f0ac7088b89181212362d45e2c203f295a.tar.xz
main/libao: modernize
-rw-r--r--main/libao/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/libao/APKBUILD b/main/libao/APKBUILD
index b67860178c..dcf12ee044 100644
--- a/main/libao/APKBUILD
+++ b/main/libao/APKBUILD
@@ -9,18 +9,21 @@ options="!check" # No test suite.
license="GPL-2.0-or-later"
subpackages="$pkgname-doc $pkgname-dev"
makedepends="alsa-lib-dev automake autoconf libtool"
-source="$pkgname-$pkgver.tar.gz::https://github.com/xiph/libao/archive/${pkgver}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/xiph/libao/archive/$pkgver.tar.gz
CVE-2017-11548.patch
"
# secfixes:
# 1.2.0-r3:
-# - CVE-2017-11548
+# - CVE-2017-11548
-build() {
- cd "$builddir"
+
+prepare() {
+ default_prepare
autoreconf -fi
+}
+build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,7 +35,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}