diff options
author | dsomero <xgizzmo@gmail.com> | 2010-05-21 23:46:55 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-24 16:09:20 -0500 |
commit | 3974b80745717853cadb1cc680573d898d056a73 (patch) | |
tree | a501201bb9cd6214e3a7fc0379bb0d3f2471770c /system/watchdog/watchdog.SlackBuild | |
parent | 3954eb29a8536a79496e481233d1786ff0f0bd49 (diff) | |
download | slackbuilds-3974b80745717853cadb1cc680573d898d056a73.tar.gz |
system/watchdog: Removed (download link broken)
Diffstat (limited to 'system/watchdog/watchdog.SlackBuild')
-rw-r--r-- | system/watchdog/watchdog.SlackBuild | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/system/watchdog/watchdog.SlackBuild b/system/watchdog/watchdog.SlackBuild deleted file mode 100644 index 1b5a8649dc..0000000000 --- a/system/watchdog/watchdog.SlackBuild +++ /dev/null @@ -1,88 +0,0 @@ -#!/bin/sh - -# Slackware build script for watchdog - -# Written by Menno Duursma <druiloor@zonnet.nl> - -# This program is free software. It comes without any warranty. -# Granted WTFPL, Version 2, as published by Sam Hocevar. See -# http://sam.zoy.org/wtfpl/COPYING for more details. - -PRGNAM=watchdog -VERSION=${VERSION:-5.7} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -set -e # Exit on most errors - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Apply the Slackware support scripts patch -patch -p1 --verbose < $CWD/patches/$PRGNAM-$VERSION-slackware.diff - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -# Move config to .new; let doinst.sh handle it further -mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new - -# Add init script too -mkdir -p $PKG/etc/rc.d -cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new - -# Compress man pages -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) - -# Copy program documentation into the package -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a [A-Z][A-Z]* ChangeLog examples $PKG/usr/doc/$PRGNAM-$VERSION -# Add the Debian doc for additional reference -cp -a debian/README.debian $PKG/usr/doc/$PRGNAM-$VERSION -# Also, include the SlackBuild script in the documentation directory -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |