aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-15 17:58:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-15 17:58:18 +0000
commitd986eee5e2e5465356cd2739294ee463c472ff80 (patch)
treee459f56afcb0e99d27dd365ca8e9fab46d980b93
parent8e14c1420d46ec3f0d24e922bc7b188b4b02f487 (diff)
downloadaports-d986eee5e2e5465356cd2739294ee463c472ff80.tar.bz2
aports-d986eee5e2e5465356cd2739294ee463c472ff80.tar.xz
extra/libsndfile: new aport
A C library for reading and writing files containing sampled sound http://www.mega-nerd.com/libsndfile
-rw-r--r--extra/libsndfile/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/libsndfile/APKBUILD b/extra/libsndfile/APKBUILD
new file mode 100644
index 0000000000..758c59bf5a
--- /dev/null
+++ b/extra/libsndfile/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsndfile
+pkgver=1.0.19
+pkgrel=0
+pkgdesc="A C library for reading and writing files containing sampled sound"
+url="http://www.mega-nerd.com/libsndfile"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="alsa-lib flac uclibc"
+makedepends="alsa-lib-dev flac-dev uclibc++-dev"
+source="http://www.mega-nerd.com/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build () {
+ cd "$srcdir"/$pkgname-$pkgver
+ export CXX="g++-uc"
+ ./configure --prefix=/usr \
+ --disable-sqlite \
+ || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="8fa24b0c0a8758543427c9741ea06924 libsndfile-1.0.19.tar.gz"