28 lines
749 B
Bash
28 lines
749 B
Bash
# Template file for 'libsamplerate'
|
|
pkgname=libsamplerate
|
|
version=0.1.9
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libsndfile-devel fftw-devel"
|
|
short_desc="Sample Rate Converter for audio"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
homepage="http://www.mega-nerd.com/SRC"
|
|
license="GPL-2"
|
|
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
|
|
checksum=0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1
|
|
|
|
CFLAGS="-fPIC"
|
|
|
|
libsamplerate-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/doc
|
|
}
|
|
}
|