summaryrefslogblamecommitdiff
path: root/user/libsamplerate/APKBUILD
blob: aed5129ba9b5e0bf067c5a3aecf50f97d4975d10 (plain) (tree)





































                                                                                                                                                                         
# 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"