diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-28 06:22:58 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-28 06:22:58 -0600 |
commit | 4f0ff595b4f18a10c762980a74fb34973b0502bc (patch) | |
tree | 0db09aa5b6d97e4293ebe75080e8b863bc80ab8f /user/speexdsp | |
parent | 891ad40f6b4216a021672484b5160ef90971db78 (diff) | |
download | packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.tar.gz packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.tar.bz2 packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.tar.xz packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.zip |
user/[random libraries]: fix syntax, modernise
Diffstat (limited to 'user/speexdsp')
-rw-r--r-- | user/speexdsp/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/user/speexdsp/APKBUILD b/user/speexdsp/APKBUILD index b6a45a1f9..9394edc7a 100644 --- a/user/speexdsp/APKBUILD +++ b/user/speexdsp/APKBUILD @@ -14,8 +14,12 @@ replaces="libspeex" source="https://downloads.xiph.org/releases/speex/$pkgname-$pkgver.tar.gz" build() { - local _neon - [ "$CARCH" = "aarch64" ] && _neon="--disable-neon" + _arch_flags="" + + case $CARCH in + "aarch64") _arch_flags="--disable-neon" + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -24,12 +28,11 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-static \ - $_neon + $_arch_flags make } package() { - cd "$builddir" make -j1 DESTDIR="$pkgdir" install } |