52 lines
1.3 KiB
Bash
52 lines
1.3 KiB
Bash
# Template file for 'alsa-tools'
|
|
pkgname=alsa-tools
|
|
version=1.1.5
|
|
revision=2
|
|
hostmakedepends="pkg-config"
|
|
makedepends="alsa-lib-devel gtk+-devel gtk+3-devel fltk-devel"
|
|
depends="pygtk 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"
|
|
checksum=bc3c6567de835223ee7d69487b8c22fb395a2e8c613341b0c96e6a5f6a2bd534
|
|
|
|
_tools="
|
|
as10k1 echomixer envy24control hdajackretask hda-verb hdspconf hdsploader
|
|
hdspmixer hwmixvolume ld10k1 mixartloader pcxhrloader rmedigicontrol sb16_csp
|
|
seq/sbiload sscape_ctl us428control usx2yloader vxloader
|
|
"
|
|
|
|
do_configure() {
|
|
for tool in ${_tools}; do
|
|
cd ${wrksrc}/${tool}
|
|
msg_normal "Configuring ${tool} ...\n"
|
|
./configure ${configure_args}
|
|
done
|
|
}
|
|
|
|
do_build() {
|
|
for tool in ${_tools}; do
|
|
msg_normal "Building ${tool} ...\n"
|
|
make -C ${tool} ${makejobs}
|
|
done
|
|
}
|
|
|
|
do_install() {
|
|
for tool in ${_tools}; do
|
|
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
|
|
}
|
|
}
|
|
|