Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv29505/scripts
Modified Files:
alsa-utils
Added Files:
alsaplayer libmad
Log Message:
alsaplayer checkin
--- NEW FILE: alsaplayer ---
#!/bin/bash
# ALSA_PLAYER added by Diego Torres <rap...@an...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: alsaplayer
# Required-Start: $basebuildtools $libs alsa-driver alsa-lib libmad
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: alsa generic player
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
source $MYDIR/functions
MYNAME=ALSA_PLAYER
case $1 in
build )
if [ "$CONFIG_ALSA_PLAYER" = "y" ]; then
./configure --prefix=/usr --disable-gtktest || exit 1
#--sysconfdir=/etc --localstatedir=/var || exit 1
##--disable-lzo
make $PMAKE || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_ALSA_PLAYER" = "y" ]; then
rm -rf $WORKDIR/tmp || exit 1
make install-strip DESTDIR=$WORKDIR/tmp || exit 1
copy_files $WORKDIR/tmp/usr/bin $CDDIR/usr/ || exit 1
copy_files $WORKDIR/tmp/usr/lib $CDDIR/usr/ || exit 1
copy_docs $WORKDIR/tmp
exit 1
rm -rf $WORKDIR/tmp || exit 1
echo "HELP_$MYNAME=\"$MYNAME is a generic pcm player\"" >> $SOFTWAREHELP
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: libmad ---
#!/bin/bash
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: libmad
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
source $MYDIR/functions
case $1 in
build )
./configure --prefix=/usr || exit 1
make $PMAKE all || exit 1
strip_debug
# install it in local system, because other programs could need it
make install
;;
install )
cp --no-dereference /usr/lib/libmad.* $CDDIR/usr/lib/ || exit 1
rm -rf $CDDIR/usr/lib/libmad.a
rm -rf $CDDIR/usr/lib/libmad.la
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
Index: alsa-utils
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/alsa-utils,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- alsa-utils 2 Dec 2003 16:13:41 -0000 1.3
+++ alsa-utils 7 Dec 2003 16:18:54 -0000 1.4
@@ -6,7 +6,7 @@
### BEGIN INIT INFO
# Provides: alsa-utils
-# Required-Start: $basebuildtools $libs linux alsa-driver alsa-lib
+# Required-Start: $basebuildtools $libs linux alsa-driver alsa-lib alsaplayer
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
|