X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fsoundtools%2Falsa%2Falsa;h=eb58edcfd979693ba5a70ae6e13fc7ee8918269d;hb=02f85e61b62e3b13fd51c9d706364ce56da35c02;hp=475d32dab3ff26f251f5b4b0d5254471afbb249f;hpb=1742e88b08efc2c2ff78b16e5a2fcdb3ed19548b;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/soundtools/alsa/alsa b/packages/soundtools/alsa/alsa index 475d32d..eb58edc 100644 --- a/packages/soundtools/alsa/alsa +++ b/packages/soundtools/alsa/alsa @@ -4,46 +4,39 @@ # # [V] 1.0.5 # [S] 3-10 -# [D] alsa-driver-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/driver/ +## [D] alsa-driver-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/driver/ # [D] alsa-lib-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/lib/ # [D] alsa-oss-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/oss-lib/ # [D] alsa-utils-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/utils/ # [D] alsa-tools-1.0.5.tar.bz2 ftp://ftp.alsa-project.org/pub/tools/ -# only build the drivers? -onlydriver=0 - # popular drivers (i have those ;) card="emu10k1,intel8x0" -oss_ver="0.9.8" - confopt_x="$confopt" confopt="$confopt --with-sequencer=yes --with-oss=yes --with-cards=$card" -if [ "$onlydriver" = "0" ] ; then - post_install() { - echo "extracting lib, utils and tools source ..." - for i in alsa-lib alsa-utils alsa-tools; do + echo "extracting lib, utils, tools and oss source ..." + for i in alsa-lib alsa-utils alsa-tools alsa-oss; do tar --use-compress-program=bzip2 -xf \ $archdir/$i-${ver}.tar.bz2 -C ../ done - tar --use-compress-program=bzip2 -xf \ - $archdir/alsa-oss-${oss_ver}.tar.bz2 -C ../ # building stuff - for i in alsa-lib- alsa-oss- alsa-utils-; do - echo "building ${i}..." - cd ../${i}* && ./configure $confopt_x && - make $make_conf && make $install_conf install + echo "building alsa libraries ..." + cd ../alsa-lib-* + ./configure $confopt_x --enable-static + make $make_conf ; make $install_conf install + for i in alsa-utils- alsa-oss-; do + echo "building ${i} ..." + cd ../${i}* ; ./configure $confopt_x + make $make_conf ; make $install_conf install done - cd ../alsa-tools-* && - for i in ac3dec as10k1 seq/sbiload; do - echo "building ${i}..." - cd ./${i}* && ./configure $confopt_x && - make $make_conf && make $install_conf install && cd ../ + cd ../alsa-tools-* + for i in ac3dec as10k1 envy24control sb16_csp; do + echo "building alsa tools - $i ..." + cd ${i}* ; ./configure $confopt_x + make $make_conf ; make $install_conf install + cd .. done - cd ../ } - -fi