summaryrefslogtreecommitdiff
path: root/user/libsamplerate/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-19 19:08:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-19 19:08:37 -0500
commit272c7c5578d9ec5411456cf21200b7954031310b (patch)
tree199e411081ae948f626b0e8c1cdc352d88693934 /user/libsamplerate/APKBUILD
parent43a2db3f8aa48f2f23519df46f0e72f60cd05f1d (diff)
downloadpackages-272c7c5578d9ec5411456cf21200b7954031310b.tar.gz
packages-272c7c5578d9ec5411456cf21200b7954031310b.tar.bz2
packages-272c7c5578d9ec5411456cf21200b7954031310b.tar.xz
packages-272c7c5578d9ec5411456cf21200b7954031310b.zip
user/libsamplerate: pull in
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"