2009-12-22 20:25:50 +00:00
|
|
|
# Template file for 'libsndfile'
|
|
|
|
pkgname=libsndfile
|
2012-05-22 16:44:03 +00:00
|
|
|
version=1.0.25
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-24 10:50:38 +00:00
|
|
|
hostmakedepends="pkg-config python"
|
|
|
|
makedepends="alsa-lib-devel libvorbis-devel>=1.2.3 libflac-devel sqlite-devel"
|
2009-12-22 20:25:50 +00:00
|
|
|
short_desc="C library for reading and writing files containing sampled sound"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-24 10:50:38 +00:00
|
|
|
homepage="http://www.mega-nerd.com/libsndfile"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://www.mega-nerd.com/$pkgname/files/$pkgname-$version.tar.gz"
|
2012-05-22 16:44:03 +00:00
|
|
|
checksum=59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882
|
2009-12-22 20:25:50 +00:00
|
|
|
long_desc="
|
|
|
|
Libsndfile is a C library for reading and writing files containing
|
|
|
|
sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format)
|
|
|
|
through one standard library interface."
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
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}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-04-13 20:28:40 +00:00
|
|
|
vmove usr/share/doc
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libsndfile_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|