summaryrefslogtreecommitdiff
path: root/system/simpleburn/simpleburn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/simpleburn/simpleburn.SlackBuild')
-rw-r--r--system/simpleburn/simpleburn.SlackBuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/system/simpleburn/simpleburn.SlackBuild b/system/simpleburn/simpleburn.SlackBuild
index 2ecd2d10dc..9d0c414e6c 100644
--- a/system/simpleburn/simpleburn.SlackBuild
+++ b/system/simpleburn/simpleburn.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for simpleburn
#
-# Copyright 2015 Marek Srejma (sam_web@yahoo.de)
+# Copyright 2016 Marek Srejma (sam_web@yahoo.de)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=simpleburn
-VERSION=${VERSION:-1.8.1}
+VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,16 +69,9 @@ 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 {} \;
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install DESTDIR=$PKG
-cd ..
+cmake -DCMAKE_INSTALL_PREFIX=/usr [-DGTK3=ON] .
+make
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true