wavpack: cross build support.
This commit is contained in:
parent
d1155f870e
commit
7c34265fc9
1 changed files with 7 additions and 5 deletions
|
@ -1,10 +1,8 @@
|
||||||
# Template file for 'wavpack'
|
# Template file for 'wavpack'
|
||||||
pkgname=wavpack
|
pkgname=wavpack
|
||||||
version=4.60.1
|
version=4.60.1
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-mmx"
|
|
||||||
makedepends="pkg-config"
|
|
||||||
short_desc="An audio codec (lossy and lossless)"
|
short_desc="An audio codec (lossy and lossless)"
|
||||||
homepage="http://www.wavpack.com/"
|
homepage="http://www.wavpack.com/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
|
@ -18,8 +16,12 @@ long_desc="
|
||||||
4 format has been designed from the ground up to offer unparalleled
|
4 format has been designed from the ground up to offer unparalleled
|
||||||
performance and functionality."
|
performance and functionality."
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
|
configure_args="--enable-mmx"
|
||||||
|
fi
|
||||||
|
|
||||||
libwavpack_package() {
|
libwavpack_package() {
|
||||||
short_desc="${short_desc} - shared library"
|
short_desc+=" - shared library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so*"
|
||||||
}
|
}
|
||||||
|
@ -27,7 +29,7 @@ libwavpack_package() {
|
||||||
|
|
||||||
wavpack-devel_package() {
|
wavpack-devel_package() {
|
||||||
depends="libwavpack>=${version}"
|
depends="libwavpack>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
|
Loading…
Reference in a new issue