speex: cross build support.
This commit is contained in:
parent
8773634820
commit
6f8a14777b
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'speex'.
|
# Template file for 'speex'.
|
||||||
pkgname=speex
|
pkgname=speex
|
||||||
version=1.2rc1
|
version=1.2rc1
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
@ -18,8 +18,12 @@ long_desc="
|
||||||
is meant to be complementary to the Vorbis codec which places a greater
|
is meant to be complementary to the Vorbis codec which places a greater
|
||||||
emphasis on high-quality music reproduction."
|
emphasis on high-quality music reproduction."
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" --with-ogg=$XBPS_CROSS_BASE"
|
||||||
|
fi
|
||||||
|
|
||||||
libspeex_package() {
|
libspeex_package() {
|
||||||
short_desc="${short_desc} - shared libraries"
|
short_desc+=" - shared libraries"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so*"
|
||||||
}
|
}
|
||||||
|
@ -27,7 +31,7 @@ libspeex_package() {
|
||||||
|
|
||||||
speex-devel_package() {
|
speex-devel_package() {
|
||||||
depends="libspeex-${version}_${revision}"
|
depends="libspeex-${version}_${revision}"
|
||||||
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 New Issue