|
From: Heiko Z. <smi...@us...> - 2009-04-22 00:17:51
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12264/scripts Added Files: parted Log Message: added parted 1.8.8.git.2008.03.24 (from debian) --- NEW FILE: parted --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/parted,v $ # $Revision: 1.1 $ # $Date: 2009/04/22 00:17:47 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: parted # Required-Start: $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 [ ! -f .patch.done ]; then #From Debian zcat $DL_DIR/src/parted_1.8.8.git.2008.03.24-11.1.diff.gz | patch -p1 || exit 1 touch .patch.done fi ./configure --prefix=/usr --disable-nls --without-readline --enable-device-mapper || exit 1 make CC="gcc -fno-stack-protector" $PMAKE || exit 1 strip_debug ;; install ) rm -rf $TMPDIR || exit 1 mkdir -p $TMPDIR/usr/ || exit 1 make DESTDIR=$TMPDIR install || exit 1 rm -rf $TMPDIR/usr/include || exit 1 copy_docs $TMPDIR cp -dpR $TMPDIR/* $CDDIR/ || exit 1 rm -rf $TMPDIR || exit ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |