mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/soxr: new abuild
This commit is contained in:
parent
36e33d6dc1
commit
1e21137d2e
31
testing/soxr/APKBUILD
Normal file
31
testing/soxr/APKBUILD
Normal file
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user