diff options
Diffstat (limited to 'desktop/wmclock/wmclock.SlackBuild')
-rw-r--r-- | desktop/wmclock/wmclock.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/wmclock/wmclock.SlackBuild b/desktop/wmclock/wmclock.SlackBuild index 49b45a56de..837a992deb 100644 --- a/desktop/wmclock/wmclock.SlackBuild +++ b/desktop/wmclock/wmclock.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 @@ -51,7 +54,7 @@ LANGUAGE=${LANGUAGE:-english} make CDEBUGFLAGS="$SLKCFLAGS" mkdir -p $PKG/usr/bin -strip $PRGNAM +strip --strip-unneeded $PRGNAM install -m0755 -o root -g root $PRGNAM $PKG/usr/bin make install.share DESTDIR=$PKG @@ -66,4 +69,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} |