|
From: Serge L. <sma...@us...> - 2007-03-28 14:13:57
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv29382 Added Files: libcap Log Message: - added libcap lib to the system (vsftpd depends on it) --- NEW FILE: libcap --- #!/bin/bash # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: libcap # Required-Start: $basebuildtools glibc # 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 [ ! -f .dl-patches.done ]; then mkdir -p patches && tar -C patches/ -xjf $SRCDIR/libcap*patches.tar.bz2 || exit 1 for PATCH in $(ls patches/libcap-*patch) do patch -p1 < $PATCH || exit 1 done touch .dl-patches.done fi make || exit 1 # install it in local system, because other programs could need it make install || exit 1 ;; install ) cp -a /lib/libcap* $CDDIR/lib/ || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |