summaryrefslogtreecommitdiff
path: root/network/clive/clive.SlackBuild
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/clive.SlackBuild
parentbc2d91d0c183a66cc23a6ca2d4dd0ce10ca5685f (diff)
downloadslackbuilds-f1cedebdccb81c1b9892b29d2b5cfedaaca10a02.tar.gz
network/clive: Updated for version 1.0.1
Diffstat (limited to 'network/clive/clive.SlackBuild')
-rw-r--r--network/clive/clive.SlackBuild8
1 files changed, 6 insertions, 2 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}