|
From: Serge L. <sma...@us...> - 2010-07-11 08:33:44
|
Update of /cvsroot/devil-linux/build/scripts In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11207/scripts Added Files: Pound Log Message: - added Pound - feature request #74 --- NEW FILE: Pound --- #!/bin/bash # : /cvsroot/devil-linux/build/scripts/pound,v $ # : 1.2 $ # : 2005/09/30 14:43:04 $ # # http://www.devil-linux.org # 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 case $1 in build ) if [ "$CONFIG_POUND" = "y" ]; then ./configure --prefix=/usr || exit 1 make || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_POUND" = "y" ]; then rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR || exit 1 make install DESTDIR=$TMPDIR/ || exit 1 copy_files $TMPDIR/usr $CDDIR/ || exit 1 rm -rf $TMPDIR || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |