diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/lame/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/lame/APKBUILD b/main/lame/APKBUILD index d51994e5bf..83fe97d158 100644 --- a/main/lame/APKBUILD +++ b/main/lame/APKBUILD @@ -1,6 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lame -pkgver=3.98.2 +pkgver=3.98.3 +_ver=398-2 pkgrel=0 pkgdesc="An MP3 encoder and graphical frame analyzer" url="http://lame.sourceforge.net/" @@ -11,9 +12,10 @@ makedepends="nasm ncurses-dev autoconf automake libtool" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-398-2.tar.gz lame-3.98.2-ffmpeg-0.5.patch" -build () -{ - cd "$srcdir"/$pkgname-398-2 +_builddir="$srcdir"/$pkgname-$_ver + +build() { + cd "$_builddir" # link fronted shared sed -i -e 's/\(^LDFLAGS.*\)-static/\1/g' frontend/Makefile.am @@ -33,6 +35,10 @@ build () --enable-shared make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install } |