diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:20:35 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:35 +0200 |
commit | a21a18a4eeb00be9571d57fe47290ec0aa86472c (patch) | |
tree | d0d16696127e1b6875225d3ccf32b6d81b175a9c /accessibility/unclutter/unclutter.SlackBuild | |
parent | e88f160e73670e6e8b29b56647a2977e0da99b44 (diff) | |
download | slackbuilds-a21a18a4eeb00be9571d57fe47290ec0aa86472c.tar.gz |
accessibility/unclutter: Updated for version 8
Diffstat (limited to 'accessibility/unclutter/unclutter.SlackBuild')
-rw-r--r-- | accessibility/unclutter/unclutter.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/accessibility/unclutter/unclutter.SlackBuild b/accessibility/unclutter/unclutter.SlackBuild index 140839b708..00e4e8b4f3 100644 --- a/accessibility/unclutter/unclutter.SlackBuild +++ b/accessibility/unclutter/unclutter.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 @@ -28,7 +31,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM chown -R root:root . @@ -39,7 +42,7 @@ find . \ -exec chmod 644 {} \; xmkmf -a -make +make CDEBUGFLAGS="$SLKCFLAGS -fno-strength-reduce -fno-strict-aliasing" # manual install since "make install" fails to install the man page strip $PRGNAM @@ -56,4 +59,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} |