]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/soundtools/alsa/alsa
added gaim
[hdw-linux/hdw-linux.git] / packages / soundtools / alsa / alsa
1 # hdw - linux alsa package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 1.0.5
6 # [S] 3-10
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/
12
13 # popular drivers (i have those ;)
14 card="emu10k1,intel8x0"
15
16 confopt_x="$confopt"
17 confopt="$confopt --with-sequencer=yes --with-oss=yes --with-cards=$card"
18
19 post_install()  {
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 ../
24         done
25         # building stuff
26         echo "building alsa libraries ..."
27         cd ../alsa-lib-*
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
34         done
35         cd ../alsa-tools-*
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
40                 cd ..
41         done
42                 }