celt: cross build support.

This commit is contained in:
Juan RP 2013-05-15 09:33:16 +02:00
parent ccdd647a11
commit 5579f682cc
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'celt'
pkgname=celt
version=0.11.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-float-approx --enable-custom-modes --disable-oggtest"
hostmakedepends="pkg-config"
@ -18,9 +18,13 @@ long_desc="
This is meant to close the gap between traditional speech codecs
(such as Speex) and traditional audio codecs (such as Vorbis)."
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-ogg=$XBPS_CROSS_BASE"
fi
celt-devel_package() {
depends="libogg-devel celt>=${version}"
short_desc="${short_desc} - development files"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig