From: <smi...@us...> - 2004-03-01 03:01:09
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27141/scripts Modified Files: glib Added Files: heartbeat Log Message: initial checkin of heartbeat added glib v1 for programs which require it (like heartbeat) --- NEW FILE: heartbeat --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/heartbeat,v $ # $Revision: 1.1 $ # $Date: 2004/03/01 02:42:37 $ # # http://www.devil-linux.org # WGET added by Gunther Stammwitz <gs...@ma...> # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: heartbeat # 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 MYNAME=HEARTBEAT case $1 in build ) if [ "$CONFIG_HEARTBEAT" = "y" ]; then ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-nls || exit 1 make $PMAKE all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_HEARTBEAT" = "y" ]; then rm -rf $WORKDIR/tmp || exit 1 mkdir -p $WORKDIR/tmp || exit 1 make install DESTDIR=$WORKDIR/tmp || exit 1 copy_docs $WORKDIR/tmp rm -rf $WORKDIR/tmp/usr/include || exit 1 find $WORKDIR/tmp/usr/lib/ -name \*a | xargs rm || exit 1 copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1 copy_files $WORKDIR/tmp/etc $ETCDIR/ || exit 1 rm -rf $WORKDIR/tmp || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: glib =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/glib,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- glib 11 Jan 2004 14:43:04 -0000 1.7 +++ glib 1 Mar 2004 02:42:37 -0000 1.8 @@ -25,6 +25,23 @@ case $1 in build ) + # first install the old glib stuff for programs like heartbeat + GLIB1=$(find_src_dir glib-1) + cd $GLIB1 || exit 1 + echo entered directory $(pwd) + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-libiconv || 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 + + # and now the new one + GLIB2=$(find_src_dir glib-2) + cd $GLIB2 || exit 1 + echo entered directory $(pwd) + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-libiconv || exit 1 make $PMAKE all || exit 1 strip_debug |