void-packages/srcpkgs/libsamplerate/template
2014-11-03 12:47:04 +00:00

28 lines
787 B
Text

# Template file for 'libsamplerate'
pkgname=libsamplerate
version=0.1.8
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsndfile-devel fftw-devel"
short_desc="Sample Rate Converter for audio"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mega-nerd.com/SRC"
license="GPL-2"
update_site="${homepage}/download.html"
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
checksum=93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06
CFLAGS="-fPIC"
libsamplerate-devel_package() {
depends="libsndfile-devel ${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
}
}