diff options
Diffstat (limited to 'desktop/wmsm.app')
-rw-r--r-- | desktop/wmsm.app/slack-desc | 16 | ||||
-rw-r--r-- | desktop/wmsm.app/wmsm.app.SlackBuild | 28 | ||||
-rw-r--r-- | desktop/wmsm.app/wmsm.app.info | 8 |
3 files changed, 25 insertions, 27 deletions
diff --git a/desktop/wmsm.app/slack-desc b/desktop/wmsm.app/slack-desc index 7ad7613ca27a2..e0c11c52c897a 100644 --- a/desktop/wmsm.app/slack-desc +++ b/desktop/wmsm.app/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| wmsm.app: wmsm.app (Window Maker system monitor dockable application) -wmsm.app: +wmsm.app: wmsm.app: wmsm.app monitors CPU usage, memory usage, swap usage, IOR, IOW, and wmsm.app: displays uptime. -wmsm.app: -wmsm.app: -wmsm.app: -wmsm.app: -wmsm.app: -wmsm.app: -wmsm.app: +wmsm.app: +wmsm.app: +wmsm.app: +wmsm.app: +wmsm.app: +wmsm.app: +wmsm.app: diff --git a/desktop/wmsm.app/wmsm.app.SlackBuild b/desktop/wmsm.app/wmsm.app.SlackBuild index 4c290c8fd344f..1e492469f9def 100644 --- a/desktop/wmsm.app/wmsm.app.SlackBuild +++ b/desktop/wmsm.app/wmsm.app.SlackBuild @@ -18,10 +18,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 @@ -30,7 +33,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -39,30 +42,23 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - cd wmsm - CFLAGS="$SLKCFLAGS" make - mkdir -p $PKG/usr/bin - + make \ + CFLAGS="$SLKCFLAGS" \ + INCDIR="-I/usr/include/X11" \ + LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11" # Executable is copied to the correct location + mkdir -p $PKG/usr/bin cp -a wmsm $PKG/usr/bin + strip --strip-unneeded $PKG/usr/bin/wmsm cd - -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) - - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG COPYING INSTALL \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG COPYING INSTALL $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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/wmsm.app/wmsm.app.info b/desktop/wmsm.app/wmsm.app.info index 9fbf2dd8a5630..83560f13e6d14 100644 --- a/desktop/wmsm.app/wmsm.app.info +++ b/desktop/wmsm.app/wmsm.app.info @@ -1,8 +1,10 @@ PRGNAM="wmsm.app" VERSION="0.2.1" -HOMEPAGE="http://dockapps.org/file.php/id/208" -DOWNLOAD="http://dockapps.org/download.php/id/632/wmsm.app-0.2.1.tar.bz2" +HOMEPAGE="http://c.kruk.webpark.pl" +DOWNLOAD="http://c.kruk.webpark.pl/wmsm.app-0.2.1.tar.bz2" MD5SUM="52e887efdf275e154361e226c717a7bc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Cezary M. Kruk" EMAIL="c.kruk@bigfoot.com" -APPROVED="dsomero" +APPROVED="rworkman" |