void-packages/srcpkgs/alsa-lib/template
2016-12-21 21:11:15 +00:00

35 lines
1,021 B
Bash

# Template build file for 'alsa-lib'.
pkgname=alsa-lib
version=1.1.3
revision=1
build_style=gnu-configure
configure_args="--with-pythonlibs=-lpython2.7 --with-pythonincludes=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
hostmakedepends="automake libtool pkg-config python-devel"
makedepends="python-devel"
short_desc="The Advanced Linux Sound Architecture (ALSA) library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
checksum=71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c
pre_configure() {
autoreconf -fi
}
alsa-lib-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/aclocal
}
}
alsa-lib-python_package() {
short_desc+=" - python smixer plugin"
pkg_install() {
vmove usr/lib/alsa-lib/smixer/smixer-python.so
}
}