2015-09-11 04:06:47 +02:00
|
|
|
# Template file for 'alsa-tools'
|
|
|
|
pkgname=alsa-tools
|
2015-11-10 18:08:26 +01:00
|
|
|
version=1.1.0
|
|
|
|
revision=1
|
2015-09-11 04:06:47 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="alsa-lib-devel gtk+-devel gtk+3-devel fltk-devel"
|
|
|
|
depends="python-alsa"
|
|
|
|
short_desc="Advanced ALSA tools for certain sound cards"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://alsa-project.org"
|
|
|
|
distfiles="ftp://ftp.alsa-project.org/pub/tools/${pkgname}-${version}.tar.bz2"
|
2015-11-10 18:08:26 +01:00
|
|
|
checksum=7d34558c590a50294b36576d257316a1ac5cd951eb8cd7d330e09f8cc757ab51
|
2015-09-11 04:06:47 +02:00
|
|
|
|
2015-09-12 15:37:55 +02:00
|
|
|
_tools="
|
2015-09-11 04:06:47 +02:00
|
|
|
as10k1 echomixer envy24control hdajackretask hda-verb hdspconf hdsploader
|
|
|
|
hdspmixer hwmixvolume ld10k1 mixartloader pcxhrloader rmedigicontrol sb16_csp
|
|
|
|
seq/sbiload sscape_ctl us428control usx2yloader vxloader
|
2015-09-12 15:37:55 +02:00
|
|
|
"
|
2015-09-11 04:06:47 +02:00
|
|
|
|
|
|
|
do_configure() {
|
2015-09-12 15:37:55 +02:00
|
|
|
for tool in ${_tools}; do
|
2015-09-11 04:06:47 +02:00
|
|
|
cd ${wrksrc}/${tool}
|
|
|
|
msg_normal "Configuring ${tool} ...\n"
|
|
|
|
./configure ${configure_args}
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
2015-09-12 15:37:55 +02:00
|
|
|
for tool in ${_tools}; do
|
2015-09-11 04:06:47 +02:00
|
|
|
msg_normal "Building ${tool} ...\n"
|
|
|
|
make -C ${tool} ${makejobs}
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2015-09-12 15:37:55 +02:00
|
|
|
for tool in ${_tools}; do
|
2015-09-11 04:06:47 +02:00
|
|
|
msg_normal "Installing ${tool} ...\n"
|
|
|
|
make -C ${tool} DESTDIR=${DESTDIR} install
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
alsa-tools-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|