aboutsummaryrefslogtreecommitdiffstats
path: root/main/flac/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:19:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:22:45 +0000
commitcff79a00ec4dc26a3caa16c174a07a3948da4810 (patch)
treeaae33bf81c3407a0622b857ed1969471eae7b7c6 /main/flac/APKBUILD
parent1eaeb70f388cfe3d10dc6825f947fdeeecf6ac44 (diff)
downloadaports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.bz2
aports-cff79a00ec4dc26a3caa16c174a07a3948da4810.tar.xz
main/[various]: let abuild detect shared objects dependencies
Diffstat (limited to 'main/flac/APKBUILD')
-rw-r--r--main/flac/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/flac/APKBUILD b/main/flac/APKBUILD
index a5626e1c44..d38a07e0c4 100644
--- a/main/flac/APKBUILD
+++ b/main/flac/APKBUILD
@@ -6,7 +6,7 @@ pkgdesc="Free Lossless Audio Codec"
url="http://flac.sourceforge.net/"
license="custom:Xiph LGPL GPL FDL"
subpackages="$pkgname-dev $pkgname-doc"
-depends="uclibc libogg"
+depends=
makedepends="libogg-dev"
source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
"
@@ -23,6 +23,10 @@ build () {
--disable-cpplibs \
--with-pic || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver || return 1
make DESTDIR="$pkgdir" install || return 1
install -Dm0644 COPYING.Xiph \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING.Xiph