alsa-lib: cross build and dbg support.

This commit is contained in:
Juan RP 2013-03-18 20:10:13 +01:00
parent 50050391f1
commit 9d366cbe39
3 changed files with 14 additions and 10 deletions

View file

@ -2,10 +2,7 @@
#
noarch=yes
depends="glibc-devel alsa-lib>=${version}"
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
short_desc="${short_desc} - development files"
do_install() {
vmove usr/include usr

View file

@ -1,10 +1,6 @@
# Template file for 'alsa-lib-python'.
#
short_desc="${sourcepkg} - python smixer plugin"
long_desc="${long_desc}
This package contains a python smixer plugin for ALSA."
short_desc="${short_desc} - python smixer plugin"
replaces="alsa-lib<=1.0.25"
do_install() {

View file

@ -1,7 +1,7 @@
# Template build file for 'alsa-lib'.
pkgname=alsa-lib
version=1.0.26
revision=1
revision=2
subpackages="$pkgname-devel $pkgname-python"
build_style=gnu-configure
makedepends="pkg-config python-devel"
@ -18,3 +18,14 @@ long_desc="
This package includes the ALSA runtime libraries to simplify application
programming and provide higher level functionality as well as support for
the older OSS API, providing binary compatibility for most OSS programs."
if [ -n "$XBPS_CROSS_BUILD" ]; then
# XXX python plugin
makedepends="automake pkg-config"
configure_args="--disable-python"
subpackages="$pkgname-devel"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
autoreconf -fi
}
fi