aboutsummaryrefslogtreecommitdiffstats
path: root/main/lame/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-31 06:07:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-31 06:07:33 +0000
commitf78993ff74e3b29f73935a7ca60c12af70dfcdc4 (patch)
treeb3f455e4b3b93b41f57de3bb705f872875c6e58b /main/lame/APKBUILD
parent9356872d46b2bc033c72968498cc44cbbbc380bc (diff)
downloadaports-f78993ff74e3b29f73935a7ca60c12af70dfcdc4.tar.bz2
aports-f78993ff74e3b29f73935a7ca60c12af70dfcdc4.tar.xz
main/lame: upgrade to 3.98.3
Diffstat (limited to 'main/lame/APKBUILD')
-rw-r--r--main/lame/APKBUILD14
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
}