Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29999/scripts
Added Files:
Tag: rel-1-2-patches
procmail
Log Message:
- added procmail 3.22
--- NEW FILE: procmail ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/procmail,v $
# $Revision: 1.1.2.2 $
# $Date: 2005/11/19 16:20:10 $
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: procmail
# 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
case $1 in
build )
if [ "$CONFIG_PROCMAIL" = "y" ]; then
make $PMAKE all LOCKINGTEST='/tmp .' || exit 1
strip_debug
fi
;;
install )
if [ "$CONFIG_PROCMAIL" = "y" ]; then
rm -rf $TMPDIR || exit 1
mkdir -p $TMPDIR/usr/bin || exit 1
make install BASENAME=$TMPDIR/usr VISIBLE_BASENAME=/usr || exit 1
copy_docs $TMPDIR
cp -dpvR $TMPDIR/usr/bin $CDDIR/usr || exit 1
mkdir -p $DOCDIR/procmail || exit 1
cp -dpvR examples $DOCDIR/procmail/ || exit 1
rm -rf $TMPDIR || exit 1
fi
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|