void-packages/srcpkgs/alsa-lib/template

36 lines
1,021 B
Bash
Raw Normal View History

# Template build file for 'alsa-lib'.
pkgname=alsa-lib
2015-11-10 17:05:48 +00:00
version=1.1.0
revision=1
build_style=gnu-configure
2014-02-17 17:23:23 +00:00
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"
2012-09-07 07:19:28 +00:00
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
2015-11-10 17:05:48 +00:00
checksum=dfde65d11e82b68f82e562ab6228c1fb7c78854345d3c57e2c68a9dd3dae1f15
2014-02-17 17:23:23 +00:00
pre_configure() {
autoreconf -fi
}
alsa-lib-devel_package() {
2014-06-18 06:01:38 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2013-05-26 19:12:35 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-06-18 06:01:38 +00:00
vmove usr/lib/*.so
vmove usr/share/aclocal
}
}
2014-02-17 17:23:23 +00:00
alsa-lib-python_package() {
short_desc+=" - python smixer plugin"
pkg_install() {
vmove usr/lib/alsa-lib/smixer/smixer-python.so
}
2014-02-17 17:23:23 +00:00
}