aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsndfile
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/libsndfile
parent2b4df81538b8398442d5296650905c70341dd8d3 (diff)
downloadaports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2
aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/libsndfile')
-rw-r--r--main/libsndfile/APKBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/libsndfile/APKBUILD b/main/libsndfile/APKBUILD
new file mode 100644
index 0000000000..471c45a657
--- /dev/null
+++ b/main/libsndfile/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsndfile
+pkgver=1.0.20
+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="e0553e12c7a467af44693e95e2eac668 libsndfile-1.0.20.tar.gz"