aboutsummaryrefslogtreecommitdiffstats
path: root/main/flac/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-24 08:01:31 +0000
commitb70981b68efcce5256eb11c6cd26ae123b10b6ea (patch)
treea38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/flac/APKBUILD
parent2b4df81538b8398442d5296650905c70341dd8d3 (diff)
downloadaports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2
aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/flac/APKBUILD')
-rw-r--r--main/flac/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/flac/APKBUILD b/main/flac/APKBUILD
new file mode 100644
index 0000000000..a5626e1c44
--- /dev/null
+++ b/main/flac/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=flac
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="Free Lossless Audio Codec"
+url="http://flac.sourceforge.net/"
+license="custom:Xiph LGPL GPL FDL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="uclibc libogg"
+makedepends="libogg-dev"
+source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+ "
+
+build () {
+ cd "$srcdir"/$pkgname-$pkgver || return 1
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-shared \
+ --enable-ogg \
+ --disable-sse \
+ --disable-rpath \
+ --disable-cpplibs \
+ --with-pic || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm0644 COPYING.Xiph \
+ "$pkgdir"/usr/share/licenses/$pkgname/COPYING.Xiph
+}
+md5sums="153c8b15a54da428d1f0fadc756c22c7 flac-1.2.1.tar.gz"