summaryrefslogblamecommitdiff
path: root/user/libsamplerate/APKBUILD
blob: 308259c25d49bebfec187dae0c218b52e79d50f7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                  
                       
                         


         







                                 



                  



                                                                                                                                                                         
# 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() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="78596657963cbf06785e3e6e1190b093df71da52ca340e75bd8246a962cd79dd1c90fa5527c607cebcb296e2c1ee605015278b274e3b768f2f3fbeb0eadfb728  libsamplerate-0.1.9.tar.gz"