diff options
Diffstat (limited to 'main/libsndfile')
-rw-r--r-- | main/libsndfile/APKBUILD | 22 |
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" |