summaryrefslogtreecommitdiffstats
path: root/main/flac/APKBUILD
diff options
context:
space:
mode:
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 a5626e1c4..d38a07e0c 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