Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv22103/scripts
Added Files:
grep make sed
Log Message:
- added make v3.8.0
- added sed v4.0.8
- added grep v2.5.1
--- NEW FILE: grep ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/grep,v $
# $Revision: 1.1 $
# $Date: 2003/12/20 01:39:46 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: grep
# Required-Start: $basebuildtools $libs
# 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 --bindir=/bin --disable-nls || exit 1
make all $PMAKE || exit 1
strip_debug
;;
install )
rm -rf $WORKDIR/tmp || exit 1
mkdir -p $WORKDIR/tmp/usr || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
copy_docs $WORKDIR/tmp
cp -dpR $WORKDIR/tmp/bin/* $CDDIR/bin/ || exit 1
rm -rf $WORKDIR/tmp || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: make ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/make,v $
# $Revision: 1.1 $
# $Date: 2003/12/20 01:39:46 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: make
# Required-Start: $basebuildtools $libs
# 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 --disable-nls || exit 1
make all $PMAKE || exit 1
strip_debug
;;
install )
rm -rf $WORKDIR/tmp || exit 1
mkdir -p $WORKDIR/tmp/usr || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
copy_docs $WORKDIR/tmp
cp -dpR $WORKDIR/tmp/bin/* $CDDIR/bin/ || exit 1
rm -rf $WORKDIR/tmp || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
--- NEW FILE: sed ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/sed,v $
# $Revision: 1.1 $
# $Date: 2003/12/20 01:39:46 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: sed
# Required-Start: $basebuildtools $libs
# 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 --bindir=/bin --disable-nls || exit 1
make all $PMAKE || exit 1
strip_debug
;;
install )
rm -rf $WORKDIR/tmp || exit 1
mkdir -p $WORKDIR/tmp/usr || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
copy_docs $WORKDIR/tmp
cp -dpR $WORKDIR/tmp/bin/* $CDDIR/bin/ || exit 1
rm -rf $WORKDIR/tmp || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|