summaryrefslogtreecommitdiff
path: root/system/chmsee/chmsee.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:39:53 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:39:53 +0200
commit08a7ad2bc91317a6627d5de166a66fe99a152d66 (patch)
treeac48d84fbeab8f413a4fbe708a9bd2837146e259 /system/chmsee/chmsee.SlackBuild
parentecd1125ee07af2b67ff72137f5c40fbb88eecca9 (diff)
downloadslackbuilds-08a7ad2bc91317a6627d5de166a66fe99a152d66.tar.gz
system/chmsee: Updated for version 1.0.3
Diffstat (limited to 'system/chmsee/chmsee.SlackBuild')
-rw-r--r--system/chmsee/chmsee.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/chmsee/chmsee.SlackBuild b/system/chmsee/chmsee.SlackBuild
index df87f49d41..a1f5bb3aca 100644
--- a/system/chmsee/chmsee.SlackBuild
+++ b/system/chmsee/chmsee.SlackBuild
@@ -35,8 +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
@@ -58,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-gecko=seamonkey \
@@ -88,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}