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