1 # hdw - linux alsa package
3 # author: hackbard@hackdaworld.dyndns.org
7 ## [D] alsa-driver-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/driver/
8 # [D] alsa-lib-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/lib/
9 # [D] alsa-oss-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/oss-lib/
10 # [D] alsa-utils-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/utils/
11 # [D] alsa-tools-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/tools/
13 # popular drivers (i have those ;)
14 card="emu10k1,intel8x0"
17 confopt="$confopt --with-sequencer=yes --with-oss=yes --with-cards=$card"
20 echo "extracting lib, utils, tools and oss source ..."
21 for i in alsa-lib alsa-utils alsa-tools alsa-oss; do
22 tar --use-compress-program=bzip2 -xf \
23 $archdir/$i-${ver}.tar.bz2 -C ../
26 echo "building alsa libraries ..."
28 ./configure $confopt_x --enable-static
29 make $make_conf ; make $install_conf install
30 for i in alsa-utils- alsa-oss-; do
31 echo "building ${i} ..."
32 cd ../${i}* ; ./configure $confopt_x
33 make $make_conf ; make $install_conf install
36 for i in ac3dec as10k1 envy24control sb16_csp; do
37 echo "building alsa tools - $i ..."
38 cd ${i}* ; ./configure $confopt_x
39 make $make_conf ; make $install_conf install