blob: dcaebc142285b43cfeef11f2a1a33eea7562f5e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=soxr
pkgver=0.1.2
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="$pkgname-$pkgver.tar.xz::http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-Source.tar.xz/download"
_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="0866fc4320e26f47152798ac000de1c0 soxr-0.1.2.tar.xz"
sha256sums="54e6f434f1c491388cd92f0e3c47f1ade082cc24327bdc43762f7d1eefe0c275 soxr-0.1.2.tar.xz"
sha512sums="ee902c1bc713e05b748f917d78222b68b5fe01d43f405e0954c21ce4d1ee494d01000caa79f696cb8d202c662a4c4d958b332dae034d6f929e0480abf27cd07c soxr-0.1.2.tar.xz"
|