summaryrefslogtreecommitdiffstats
path: root/network/clive
diff options
context:
space:
mode:
Diffstat (limited to 'network/clive')
-rw-r--r--network/clive/clive.SlackBuild8
-rw-r--r--network/clive/clive.info4
2 files changed, 9 insertions, 3 deletions
diff --git a/network/clive/clive.SlackBuild b/network/clive/clive.SlackBuild
index 8e3bd7e1d5..ba27d9623d 100644
--- a/network/clive/clive.SlackBuild
+++ b/network/clive/clive.SlackBuild
@@ -36,10 +36,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
@@ -61,9 +64,10 @@ CFLAGS=${SLKCFLAGS} \
CXXFLAGS=${SLKCFLAGS} \
./configure \
--prefix=/usr \
- --libdir=/usr/lib \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --build=$ARCH-slackware-linux \
--mandir=/usr/man
make
@@ -86,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/clive/clive.info b/network/clive/clive.info
index c86e8fda65..192ebe5e2d 100644
--- a/network/clive/clive.info
+++ b/network/clive/clive.info
@@ -2,7 +2,9 @@ PRGNAM="clive"
VERSION="1.0.1"
HOMEPAGE="http://clive.sourceforge.net/"
DOWNLOAD="http://dl.gna.org/clive/1.0.x/clive-1.0.1.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="052f9f8e57fec92737faabf02c1d6567"
+MD5SUM_x86_64=""
MAINTAINER="Javier Rojas"
EMAIL="jerojasro@devnull.li"
-APPROVED="David Somero"
+APPROVED="dsomero"