summaryrefslogtreecommitdiff
path: root/network/clive
diff options
context:
space:
mode:
authorJavier Rojas <jerojasro@devnull.li>2010-05-13 00:36:00 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:00 +0200
commitf1cedebdccb81c1b9892b29d2b5cfedaaca10a02 (patch)
treeb8dc2741b4f3224b51bfd39a053cf57bad91e050 /network/clive
parentbc2d91d0c183a66cc23a6ca2d4dd0ce10ca5685f (diff)
downloadslackbuilds-f1cedebdccb81c1b9892b29d2b5cfedaaca10a02.tar.gz
network/clive: Updated for version 1.0.1
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"