summaryrefslogtreecommitdiff
path: root/user/lame
diff options
context:
space:
mode:
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
}