summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
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"