aboutsummaryrefslogtreecommitdiff
path: root/desktop/wmcliphist/wmcliphist.SlackBuild
diff options
context:
space:
mode:
authorShining <shining@freaknet.org>2010-05-13 00:23:23 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:23:23 +0200
commite1478dbcc09bc74db7e4fd23ec091230d7344313 (patch)
treea5efcc334d6d97bb3f809fa65ea255aa947369d0 /desktop/wmcliphist/wmcliphist.SlackBuild
parent7da63dcd3e39c0cb4c082453773503414907873c (diff)
desktop/wmcliphist: Updated for version 0.6
Diffstat (limited to 'desktop/wmcliphist/wmcliphist.SlackBuild')
-rw-r--r--desktop/wmcliphist/wmcliphist.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/wmcliphist/wmcliphist.SlackBuild b/desktop/wmcliphist/wmcliphist.SlackBuild
index 731f205bf995e..b09bba9e895a1 100644
--- a/desktop/wmcliphist/wmcliphist.SlackBuild
+++ b/desktop/wmcliphist/wmcliphist.SlackBuild
@@ -17,10 +17,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
@@ -36,7 +39,7 @@ cd $PRGNAM-$VERSION
chmod -R u+w,go+r-w,a-s .
chown -R root:root .
-make
+make CFLAGS="$SLKCFLAGS \$(INCLUDES)"
mkdir -p $PKG/usr/bin
install -m 0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM
@@ -50,4 +53,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}