summaryrefslogtreecommitdiff
path: root/user/libsamplerate/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libsamplerate/APKBUILD')
-rw-r--r--user/libsamplerate/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libsamplerate/APKBUILD b/user/libsamplerate/APKBUILD
new file mode 100644
index 000000000..aed5129ba
--- /dev/null
+++ b/user/libsamplerate/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer:
+pkgname=libsamplerate
+pkgver=0.1.9
+pkgrel=1
+pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
+url="http://www.mega-nerd.com/SRC/index.html"
+subpackages="$pkgname-dev $pkgname-doc"
+arch="all"
+license="BSD-2-Clause-NetBSD"
+depends=""
+makedepends="fftw-dev libsndfile-dev linux-headers"
+source="http://www.mega-nerd.com/SRC/$pkgname-$pkgver.tar.gz"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728 libsamplerate-0.1.9.tar.gz"