33 lines
978 B
Text
33 lines
978 B
Text
# Template file for 'libsndfile'
|
|
pkgname=libsndfile
|
|
version=1.0.25
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python"
|
|
makedepends="alsa-lib-devel libvorbis-devel>=1.2.3 libflac-devel sqlite-devel"
|
|
short_desc="C library for reading and writing files containing sampled sound"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.mega-nerd.com/libsndfile"
|
|
license="LGPL-2.1"
|
|
distfiles="http://www.mega-nerd.com/$pkgname/files/$pkgname-$version.tar.gz"
|
|
checksum=59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882
|
|
|
|
libsndfile-progs_package() {
|
|
short_desc+=" - bundled cmdline apps"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man
|
|
}
|
|
}
|
|
|
|
libsndfile-devel_package() {
|
|
depends="alsa-lib-devel libvorbis-devel libflac-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
|
|
}
|
|
}
|