alsa-tools: remove bashism.
This commit is contained in:
parent
58468d4f3d
commit
38e3a30fb9
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'alsa-tools'
|
# Template file for 'alsa-tools'
|
||||||
pkgname=alsa-tools
|
pkgname=alsa-tools
|
||||||
version=1.0.29
|
version=1.0.29
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="alsa-lib-devel gtk+-devel gtk+3-devel fltk-devel"
|
makedepends="alsa-lib-devel gtk+-devel gtk+3-devel fltk-devel"
|
||||||
depends="python-alsa"
|
depends="python-alsa"
|
||||||
|
@ -12,14 +12,14 @@ homepage="http://alsa-project.org"
|
||||||
distfiles="ftp://ftp.alsa-project.org/pub/tools/${pkgname}-${version}.tar.bz2"
|
distfiles="ftp://ftp.alsa-project.org/pub/tools/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1
|
checksum=94abf0ab5a73f0710c70d4fb3dc1003af5bae2d2ed721d59d245b41ad0f2fbd1
|
||||||
|
|
||||||
_tools=(
|
_tools="
|
||||||
as10k1 echomixer envy24control hdajackretask hda-verb hdspconf hdsploader
|
as10k1 echomixer envy24control hdajackretask hda-verb hdspconf hdsploader
|
||||||
hdspmixer hwmixvolume ld10k1 mixartloader pcxhrloader rmedigicontrol sb16_csp
|
hdspmixer hwmixvolume ld10k1 mixartloader pcxhrloader rmedigicontrol sb16_csp
|
||||||
seq/sbiload sscape_ctl us428control usx2yloader vxloader
|
seq/sbiload sscape_ctl us428control usx2yloader vxloader
|
||||||
)
|
"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
for tool in ${_tools[@]}; do
|
for tool in ${_tools}; do
|
||||||
cd ${wrksrc}/${tool}
|
cd ${wrksrc}/${tool}
|
||||||
msg_normal "Configuring ${tool} ...\n"
|
msg_normal "Configuring ${tool} ...\n"
|
||||||
./configure ${configure_args}
|
./configure ${configure_args}
|
||||||
|
@ -27,14 +27,14 @@ do_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
for tool in ${_tools[@]}; do
|
for tool in ${_tools}; do
|
||||||
msg_normal "Building ${tool} ...\n"
|
msg_normal "Building ${tool} ...\n"
|
||||||
make -C ${tool} ${makejobs}
|
make -C ${tool} ${makejobs}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
for tool in ${_tools[@]}; do
|
for tool in ${_tools}; do
|
||||||
msg_normal "Installing ${tool} ...\n"
|
msg_normal "Installing ${tool} ...\n"
|
||||||
make -C ${tool} DESTDIR=${DESTDIR} install
|
make -C ${tool} DESTDIR=${DESTDIR} install
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue