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 # only build the drivers?
16 # popular drivers (i have those ;)
17 card="emu10k1,intel8x0"
22 confopt="$confopt --with-sequencer=yes --with-oss=yes --with-cards=$card"
24 if [ "$onlydriver" = "0" ] ; then
27 echo "extracting lib, utils and tools source ..."
28 for i in alsa-lib alsa-utils alsa-tools; do
29 tar --use-compress-program=bzip2 -xf \
30 $archdir/$i-${ver}.tar.bz2 -C ../
32 tar --use-compress-program=bzip2 -xf \
33 $archdir/alsa-oss-${oss_ver}.tar.bz2 -C ../
35 for i in alsa-lib- alsa-oss- alsa-utils-; do
36 echo "building ${i}..."
37 cd ../${i}* && ./configure $confopt_x &&
38 make $make_conf && make $install_conf install
41 for i in ac3dec as10k1 seq/sbiload; do
42 echo "building ${i}..."
43 cd ./${i}* && ./configure $confopt_x &&
44 make $make_conf && make $install_conf install && cd ../