38 lines
928 B
Text
38 lines
928 B
Text
# Template file for 'wavpack'
|
|
pkgname=wavpack
|
|
version=4.70.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
short_desc="An audio codec (lossy and lossless)"
|
|
homepage="http://www.wavpack.com/"
|
|
license="BSD"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
update_site="${homepage}downloads.html"
|
|
distfiles="http://www.wavpack.com/${pkgname}-${version}.tar.bz2"
|
|
checksum=2cade379b0aba99fbc4e442ccc6dac6c609f6212e46516a083e24c8c364430a4
|
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
configure_args="--enable-mmx"
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i 's/^prefix=.*/&\nexec_&/' wavpack.pc.in
|
|
}
|
|
|
|
libwavpack_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
wavpack-devel_package() {
|
|
depends="libwavpack>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|