Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv12640/scripts
Modified Files:
Tag: rel-1-2-patches
db-4
Log Message:
- added missing db-4 utilities
Index: db-4
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/db-4,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- db-4 11 Jan 2004 14:43:04 -0000 1.6
+++ db-4 17 Aug 2006 23:43:59 -0000 1.6.2.1
@@ -12,7 +12,7 @@
# Provides: db-4
# Required-Start: $basebuildtools glibc
# Required-Stop:
-# Default-Start: 1
+# Default-Start: 1 2
# Default-Stop:
# Description: description
### END INIT INFO
@@ -36,6 +36,18 @@
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
;;
+ install )
+ DB4DIR=$(pwd)
+ cd ../db4-build || exit 1
+ mkdir -p $TMPDIR || exit 1
+ make install DESTDIR=$TMPDIR || exit 1
+ rm -rf $TMPDIR/usr/lib/*.a || exit 1
+ rm -rf $TMPDIR/usr/lib/*.la || exit 1
+ rm -rf $TMPDIR/usr/docs || exit 1
+ rm -rf $TMPDIR/usr/include || exit 1
+ cp -vdpR $TMPDIR/usr $CDDIR || exit 1
+ rm -rf $TMPDIR || exit 1
+ ;;
* )
echo "ERROR ($0)"
|