diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/lbench/lbench.SlackBuild | 16 | ||||
-rw-r--r-- | system/lbench/lbench.info | 6 |
2 files changed, 10 insertions, 12 deletions
diff --git a/system/lbench/lbench.SlackBuild b/system/lbench/lbench.SlackBuild index c0067141a6..1b620a8ffd 100644 --- a/system/lbench/lbench.SlackBuild +++ b/system/lbench/lbench.SlackBuild @@ -26,7 +26,7 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=lbench -VERSION=${VERSION:-3.2} +VERSION=${VERSION:-3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,18 +72,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix makefile to not "install" the .desktop file -# and accept LIBS variable -sed \ - -e "s/xdg-desktop/# xdg-desktop/g" \ - -e "/^LIBS/s/=/+=/" \ - -i Makefile +# The makefile fails to create this directory +mkdir -p $PKG/usr/share/icons CXXFLAGS="$SLKCFLAGS" \ -LIBS="-lpthread" \ PREFIX=/usr \ make \ - DOCDIR=/usr/doc/$PRGNAM-$VERSION \ + DOCDIR=/usr/doc/$PRGNAM-$VERSION PREFIX=/usr \ make install \ @@ -92,6 +87,9 @@ make install \ MENUFILE=/usr/share/applications/$PRGNAM.desktop \ DESTDIR=$PKG +# The makefile creates this directory but there's nothing in it +rmdir $PKG/usr/share/appdata + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/system/lbench/lbench.info b/system/lbench/lbench.info index 0c9e504252..6339849781 100644 --- a/system/lbench/lbench.info +++ b/system/lbench/lbench.info @@ -1,8 +1,8 @@ PRGNAM="lbench" -VERSION="3.2" +VERSION="3.3" HOMEPAGE="http://kornelix.net/lbench/lbench.html" -DOWNLOAD="http://kornelix.net/downloads/tarballs/lbench-3.2.tar.gz" -MD5SUM="c49af273926b5f9711b92c5d89d7a723" +DOWNLOAD="http://kornelix.net/downloads/tarballs/lbench-3.3.tar.gz" +MD5SUM="6e9df803b250330725d9d4bcda747a41" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |