31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
# Template build file for 'alsa-lib'.
|
|
pkgname=alsa-lib
|
|
version=1.0.26
|
|
revision=2
|
|
subpackages="$pkgname-devel $pkgname-python"
|
|
build_style=gnu-configure
|
|
makedepends="pkg-config python-devel"
|
|
short_desc="The Advanced Linux Sound Architecture (ALSA) library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://www.alsa-project.org"
|
|
distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
|
|
checksum=8c9f8161603cc3db640619650401292c3e110da63429ab6938aac763319f6e7d
|
|
long_desc="
|
|
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
|
|
functionality to the Linux operating system.
|
|
|
|
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
|