Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv27249/scripts
Added Files:
alsa-lib alsa-utils
Log Message:
stage 2 and 3
--- NEW FILE: alsa-lib ---
#!/bin/bash
# ALSA modules added by Diego Torres <dt...@co...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: alsa-lib
# Required-Start: $basebuildtools $libs linux alsa-driver
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: alsa sound support, 2st step
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
source $MYDIR/functions
KERNELDIR=$(find_src_dir linux)
MYNAME=ALSA-LIB
case $1 in
build )
if [ "$CONFIG_ALSA" = "y" ]; then
./configure --prefix=/usr || exit 1
make $PMAKE $FLAGS || exit 1
strip_debug
rm -rf $WORKDIR/tmp || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
copy_files $WORKDIR/tmp/usr/ $CDDIR/ || exit 1
copy_files $WORKDIR/tmp/usr/include / || exit 1
fi
;;
install )
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: alsa-utils ---
#!/bin/bash
# ALSA modules added by Diego Torres <dt...@co...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: alsa-utils
# Required-Start: $basebuildtools $libs linux alsa-driver alsa-lib
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: alsa sound support, 3st step
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
source $MYDIR/functions
KERNELDIR=$(find_src_dir linux)
MYNAME=ALSA-UTILS
case $1 in
build )
if [ "$CONFIG_ALSA" = "y" ]; then
./configure --prefix=/usr --with-alsa-prefix=$CDDIR/usr/lib/ --with-alsa-inc-prefix=$CDDIR/usr/include || exit 1
make $PMAKE all || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_ALSA" = "y" ]; then
rm -rf $WORKDIR/tmp || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
copy_files $WORKDIR/tmp/usr/sbin/ $CDDIR/ || exit 1
copy_files $WORKDIR/tmp/usr/bin/ $CDDIR/ || exit 1
rm -rf $WORKDIR/tmp || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|