From 4f0ff595b4f18a10c762980a74fb34973b0502bc Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 28 Dec 2019 06:22:58 -0600 Subject: user/[random libraries]: fix syntax, modernise --- user/lame/APKBUILD | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'user/lame') diff --git a/user/lame/APKBUILD b/user/lame/APKBUILD index 71f48fae4..31913a204 100644 --- a/user/lame/APKBUILD +++ b/user/lame/APKBUILD @@ -6,11 +6,11 @@ pkgdesc="MP3 encoder and graphical frame analyzer" url="http://lame.sourceforge.net/" arch="all" license="LGPL-2.0+" -subpackages="$pkgname-dev $pkgname-doc" -makedepends="ncurses-dev autoconf automake libtool" +depends="" +makedepends="ncurses-dev" ([ $CBUILD_ARCH != "pmmx" ] && [ $CBUILD_ARCH != "x86_64" ]) || makedepends="$makedepends nasm" +subpackages="$pkgname-dev $pkgname-doc" source="https://downloads.sourceforge.net/project/lame/lame/$pkgver/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$pkgname-$pkgver # secfixes:ss # 3.100-r0: @@ -27,8 +27,6 @@ builddir="$srcdir"/$pkgname-$pkgver # - CVE-2017-11720 prepare() { - cd "$builddir" - default_prepare # fix for parallel builds @@ -36,12 +34,9 @@ prepare() { # fix for pic build with new nasm sed -i -e '/define sp/s/+/ + /g' libmp3lame/i386/nasm.h - - aclocal && automake --force --add-missing } build() { - cd "$builddir" LIBS="-ltinfo" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -55,13 +50,10 @@ build() { } check() { - cd "$builddir" make test } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install } -- cgit v1.2.3-70-g09d2