From 272c7c5578d9ec5411456cf21200b7954031310b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 19 Jul 2018 19:08:37 -0500 Subject: user/libsamplerate: pull in --- user/libsamplerate/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/libsamplerate/APKBUILD (limited to 'user/libsamplerate') 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" -- cgit v1.2.3-70-g09d2