void-packages/srcpkgs/libsamplerate/template

28 lines
758 B
Text
Raw Normal View History

# Template file for 'libsamplerate'
pkgname=libsamplerate
version=0.1.8
2014-02-20 17:42:18 +00:00
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/index.html"
license="GPL-2"
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
checksum=93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06
2014-02-20 17:42:18 +00:00
CFLAGS="-fPIC"
libsamplerate-devel_package() {
2014-02-20 17:42:18 +00:00
depends="libsndfile-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2014-02-20 17:42:18 +00:00
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}