aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmad
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-15 09:08:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-15 09:08:48 +0000
commit5d6efd7e81cb1c227704723aacd5eb5b23485076 (patch)
treefa0c2b7def5d4ec353202987b0deac2962455dc6 /main/libmad
parent8d38726599f14449188941dc7d4b042e3f851adb (diff)
downloadaports-5d6efd7e81cb1c227704723aacd5eb5b23485076.tar.bz2
aports-5d6efd7e81cb1c227704723aacd5eb5b23485076.tar.xz
main/libmad: move .so to -dev package
ref #384
Diffstat (limited to 'main/libmad')
-rw-r--r--main/libmad/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libmad/APKBUILD b/main/libmad/APKBUILD
index f48894aed1..46eebdb080 100644
--- a/main/libmad/APKBUILD
+++ b/main/libmad/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmad
pkgver=0.15.1b
-pkgrel=1
+pkgrel=2
pkgdesc="A high-quality MPEG audio decoder"
url="http://www.underbit.com/products/mad/"
license="GPL"
@@ -31,6 +31,10 @@ build ()
--enable-accuracy
make -j1 || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m644 "$srcdir"/mad.pc "$pkgdir"/usr/lib/pkgconfig/mad.pc
}