diff options
author | Vasilis Papavasileiou <el03020@mail.ntua.gr> | 2010-05-13 00:23:25 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:23:25 +0200 |
commit | eb78a5075fc0ce170eec5a9d855679f5e2276fd4 (patch) | |
tree | 05d7a8564824142260289684f963f060d62d392c /desktop | |
parent | 513698d5280527a295be858301ec56ba8f176fb0 (diff) |
desktop/wmctrl: Updated for version 1.07
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/wmctrl/wmctrl.SlackBuild | 32 | ||||
-rw-r--r-- | desktop/wmctrl/wmctrl.info | 2 |
2 files changed, 23 insertions, 11 deletions
diff --git a/desktop/wmctrl/wmctrl.SlackBuild b/desktop/wmctrl/wmctrl.SlackBuild index 8d6b180c792e..18c8852a2296 100644 --- a/desktop/wmctrl/wmctrl.SlackBuild +++ b/desktop/wmctrl/wmctrl.SlackBuild @@ -10,6 +10,7 @@ VERSION=1.07 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -19,34 +20,43 @@ DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README" 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 + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 +cd $TMP rm -rf $PRGNAM-$VERSION -tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - || exit 1 + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc/X11/WindowMaker \ + --mandir=/usr/man \ + --build=$ARCH-slackware-linux -make || exit 1 -make install DESTDIR=$PKG || exit 1 +make +make install DESTDIR=$PKG ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true ) -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; -) +( cd $PKG/usr/man ; find . -type f -exec gzip -9 {} \; ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION @@ -56,4 +66,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} diff --git a/desktop/wmctrl/wmctrl.info b/desktop/wmctrl/wmctrl.info index dcecb913e204..89ba1e7b2104 100644 --- a/desktop/wmctrl/wmctrl.info +++ b/desktop/wmctrl/wmctrl.info @@ -3,6 +3,8 @@ VERSION="1.07" HOMEPAGE="http://sweb.cz/tripie/utils/wmctrl" DOWNLOAD="http://sweb.cz/tripie/utils/wmctrl/dist/wmctrl-1.07.tar.gz" MD5SUM="1fe3c7a2caa6071e071ba34f587e1555" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Vasilis Papavasileiou" EMAIL="el03020@mail.ntua.gr" APPROVED="rworkman" |