diff options
author | David Spencer <baildon.research@googlemail.com> | 2017-04-04 22:58:44 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-08 06:57:46 +0700 |
commit | c6a98a9bd5475fe6cf06700487254a455d6ef8ec (patch) | |
tree | d72a54c71ea241f1ad45c4d3a3c13d8b5d065918 /system/lbench | |
parent | 222f1799bec92537819d31ffbbfa44b3f4ae982d (diff) |
system/lbench: Updated for version 3.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/lbench')
-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 c0067141a61f7..1b620a8ffd090 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 0c9e504252c94..6339849781915 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="" |