Update of /cvsroot/devil-linux/build/scripts
In directory vz-cvs-3.sog:/tmp/cvs-serv22107/scripts
Added Files:
gnugk h323plus
Log Message:
added missing files
--- NEW FILE: h323plus ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/h323plus,v $
# $Revision: 1.1 $
# $Date: 2011/10/23 17:27:43 $
#
# http://www.devil-linux.org
#
# OPENH323 added by: Bruce Smith <dev...@re...> for Devil Linux 0.6
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=OPENH323
case $1 in
build )
if [ "$CONFIG_OPENH323" = "y" ]; then
rm -f /usr/lib/libopenh323*
export OPENH323DIR=$PWD
export PTLIBDIR=$(find_src_dir ptlib)
./configure --prefix=/usr || exit 1
make $PMAKE || exit 1
CFLAGS="$CFLAGS -I/usr/src/linux/include" make || exit 1
strip_debug
make install || exit 1
fi
;;
install )
:
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: gnugk ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/gnugk,v $
# $Revision: 1.1 $
# $Date: 2011/10/23 17:27:43 $
#
# http://www.devil-linux.org
#
# GNU Gatekeeper added by: Bruce Smith <dev...@re...>
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
MYNAME=OPENH323GK
case $1 in
build )
if [ "$CONFIG_OPENH323GK" = "y" ]; then
export PTLIBDIR=$(find_src_dir ptlib)
export OPENH323DIR=$(find_src_dir h323plus)
./configure --prefix=/usr || exit 1
make $PMAKE opt || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_OPENH323GK" = "y" ]; then
mkdir -p $CDDIR/usr/sbin
cp -dp obj_*/gnugk $CDDIR/usr/sbin || exit 1
mkdir -p $DOCDIR/gnugk/etc
cp -dpR docs $DOCDIR/gnugk
cp -dpR etc $DOCDIR/gnugk
# echo "# Start $MYNAME?" >> $CONFIGFILE
# echo "START_$MYNAME=no" >> $CONFIGFILE
# echo >> $CONFIGFILE || exit 1
echo "HELP_$MYNAME=\"$MYNAME is the GNU H.323 Gatekeeper\"" >> $SOFTWAREHELP
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|