void-packages/srcpkgs/wavpack/template

45 lines
1.2 KiB
Text
Raw Normal View History

2010-12-13 23:56:02 +00:00
# Template file for 'wavpack'
pkgname=wavpack
version=4.60.1
2013-05-26 14:31:49 +00:00
revision=6
build_style=gnu-configure
2010-12-13 23:56:02 +00:00
short_desc="An audio codec (lossy and lossless)"
2013-03-31 07:52:13 +00:00
homepage="http://www.wavpack.com/"
license="BSD"
2010-12-13 23:56:02 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.wavpack.com//${pkgname}-${version}.tar.bz2"
2010-12-13 23:56:02 +00:00
checksum=175ee4f2effd6f51e6ec487956f41177256bf892c2e8e07de5d27ed4ee6888c5
long_desc="
WavPack is a completely open audio compression format providing lossless,
high-quality lossy, and a unique hybrid compression mode. Although the
technology is loosely based on previous versions of WavPack, the new version
4 format has been designed from the ground up to offer unparalleled
performance and functionality."
2013-05-26 14:31:49 +00:00
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
configure_args="--enable-mmx"
fi
libwavpack_package() {
2013-05-26 14:31:49 +00:00
short_desc+=" - shared library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
wavpack-devel_package() {
depends="libwavpack>=${version}"
2013-05-26 14:31:49 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
}
}
wavpack_package() {
pkg_install() {
vmove usr
}
}