#
# [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