summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorRicardson Williams <ricardsonwilliams@yahoo.com.br>2010-05-13 00:41:00 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:00 +0200
commit5baee68c8ffb4e36c02dafb71f6b640beae8cd9c (patch)
tree8bc3c7c597bb6f5a65792c629dfd6307ded68875 /system
parent967dd61c946a23ede3c083d39ef1d077daffdbbb (diff)
downloadslackbuilds-5baee68c8ffb4e36c02dafb71f6b640beae8cd9c.tar.gz
system/monit: Updated for version 5.0
Diffstat (limited to 'system')
-rw-r--r--system/monit/monit.SlackBuild10
-rw-r--r--system/monit/monit.info2
2 files changed, 9 insertions, 3 deletions
diff --git a/system/monit/monit.SlackBuild b/system/monit/monit.SlackBuild
index cb06292f4f..671fd6fbd2 100644
--- a/system/monit/monit.SlackBuild
+++ b/system/monit/monit.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Slackware build script of monit
+# Slackware build script of monit
# Copyright 2006 Ricardson Williams <ricardsonwilliams at yahoo.com.br>
# All rights reserved.
@@ -24,7 +24,7 @@
PRGNAM=monit
VERSION=5.0
-ARCH=${ARCH:-i486}
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ 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
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -86,4 +90,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -c n -l y -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/monit/monit.info b/system/monit/monit.info
index 298a0b28ce..ee91c234b8 100644
--- a/system/monit/monit.info
+++ b/system/monit/monit.info
@@ -2,7 +2,9 @@ PRGNAM="monit"
VERSION="5.0"
HOMEPAGE="http://mmonit.com/monit/"
DOWNLOAD="http://mmonit.com/monit/dist/monit-5.0.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="61e13c0c6f5ad396e12a7692135d8737"
+MD5SUM_x86_64=""
MAINTAINER="Ricardson Williams"
EMAIL="ricardsonwilliams@yahoo.com.br"
APPROVED="rworkman"