diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-30 14:23:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-30 14:23:09 +0000 |
commit | f26a8f703c3c6f977b5fb6aa058b1e8d2e869575 (patch) | |
tree | 1755de47034389773ad006decd1babdab9c4ce6c /main/soxr | |
parent | 82b9c6a93fa49a2581dcdfb5bedb83210007c06c (diff) | |
download | aports-f26a8f703c3c6f977b5fb6aa058b1e8d2e869575.tar.bz2 aports-f26a8f703c3c6f977b5fb6aa058b1e8d2e869575.tar.xz |
main/soxr: move to main
needed by audacity
Diffstat (limited to 'main/soxr')
-rw-r--r-- | main/soxr/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/soxr/APKBUILD b/main/soxr/APKBUILD new file mode 100644 index 0000000000..feb9441524 --- /dev/null +++ b/main/soxr/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: +pkgname=soxr +pkgver=0.1.1 +pkgrel=0 +pkgdesc="High quality, one-dimensional sample-rate conversion library" +url="http://sourceforge.net/projects/soxr/" +arch="all" +license="LGPL2" +depends="" +depends_dev="cmake" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="saveas-http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-Source.tar.xz/download/$pkgname-$pkgver.tar.xz" +_builddir="$srcdir"/$pkgname-$pkgver-Source +build() { + cd "$_builddir" + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DBUILD_TESTS=ON . + make + make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="805651a245ead381c82fad6247af5968 soxr-0.1.1.tar.xz" +sha256sums="dcc16868d1a157079316f84233afcc2b52dd0bd541dd8439dc25bceb306faac2 soxr-0.1.1.tar.xz" +sha512sums="377d9c0bb72cd673f89021a86da18861d35ab52f773afd97b6b5f7a2fa8e78865f3484cab4b795ceafacbbb34be6b77efeaaed75c66a839d5e891d70f00d6679 soxr-0.1.1.tar.xz" |