27 lines
750 B
Bash
27 lines
750 B
Bash
# 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@voidlinux.eu>"
|
|
homepage="http://www.mega-nerd.com/SRC"
|
|
license="GPL-2"
|
|
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
|
|
}
|
|
}
|