Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv8576/scripts
Added Files:
pcre
Log Message:
updates and added pcre (for snort)
--- NEW FILE: pcre ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/pcre,v $
# $Revision: 1.1 $
# $Date: 2003/12/20 00:09:50 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: pcre
# Required-Start: $basebuildtools glibc
# Required-Stop:
# Default-Start: 1
# 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
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|