summaryrefslogtreecommitdiff
path: root/user/lame
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 06:22:58 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 06:22:58 -0600
commit4f0ff595b4f18a10c762980a74fb34973b0502bc (patch)
tree0db09aa5b6d97e4293ebe75080e8b863bc80ab8f /user/lame
parent891ad40f6b4216a021672484b5160ef90971db78 (diff)
downloadpackages-4f0ff595b4f18a10c762980a74fb34973b0502bc.tar.gz
packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.tar.bz2
packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.tar.xz
packages-4f0ff595b4f18a10c762980a74fb34973b0502bc.zip
user/[random libraries]: fix syntax, modernise
Diffstat (limited to 'user/lame')
-rw-r--r--user/lame/APKBUILD14
1 files changed, 3 insertions, 11 deletions
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
}