|
From: Serge L. <sma...@us...> - 2007-11-27 20:58:18
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv19654/scripts Added Files: inotify-tools Log Message: - added inotify-tools --- NEW FILE: inotify-tools --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/inotify-tools,v $ # $Revision: 1.1 $ # $Date: 2007/11/27 20:58:08 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: inotify-tools # 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_INOTIFYTOOLS" = "y" ]; then ./configure --prefix=/usr || exit 1 make $PMAKE || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_INOTIFYTOOLS" = "y" ]; then rm -rf $TMPDIR || exit 1 make install DESTDIR=$TMPDIR || exit 1 copy_docs $TMPDIR rm -rf $TMPDIR/usr/include || exit 1 rm -rf $TMPDIR/usr/lib/*a || exit 1 cp -vdpR $TMPDIR/* $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 |