aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
Diffstat (limited to 'development')
-rw-r--r--development/envytools/envytools.SlackBuild16
-rw-r--r--development/envytools/envytools.info6
2 files changed, 12 insertions, 10 deletions
diff --git a/development/envytools/envytools.SlackBuild b/development/envytools/envytools.SlackBuild
index ae66b8ff6a509..e2b530c0a1db5 100644
--- a/development/envytools/envytools.SlackBuild
+++ b/development/envytools/envytools.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=envytools
-VERSION=${VERSION:-2017.01.11_aae0c52a}
+VERSION=${VERSION:-2017.09.29_6a23a12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,10 +69,10 @@ 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 {} \;
-HWTEST=${HWTEST:-yes} NVA=${NVA:-yes} VDPOW=${VDPOW:-yes}
-if [ "${HWTEST:-no}" = "no" ]; then hwtest="-DDISABLE_HWTEST=ON"; else hwtest=""; fi
-if [ "${NVA:-no}" = "no" ]; then nva="-DDISABLE_NVA=ON"; else nva=""; fi
-if [ "${VDPOW:-no}" = "no" ]; then vdpow="-DDISABLE_VDPOW=ON"; else vdpow=""; fi
+hwtest=OFF; nva=OFF; vdpow=OFF
+[ "${HWTEST:-0}" != 0 ] && hwtest=ON
+[ "${NVA:-0}" != 0 ] && nva=ON
+[ "${VDPOW:-0}" != 0 ] && vdpow=ON
mkdir -p build
cd build
@@ -81,7 +81,9 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DDOC_PATH=/usr/doc/$PRGNAM-$VERSION \
- $hwtest $nva $vdpow \
+ -DDISABLE_HWTEST=$hwtest \
+ -DDISABLE_NVA=$nva \
+ -DDISABLE_VDPOW=$vdpow \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/development/envytools/envytools.info b/development/envytools/envytools.info
index f455b430eb969..2536e4edde986 100644
--- a/development/envytools/envytools.info
+++ b/development/envytools/envytools.info
@@ -1,8 +1,8 @@
PRGNAM="envytools"
-VERSION="2017.01.11_aae0c52a"
+VERSION="2017.09.29_6a23a12"
HOMEPAGE="https://github.com/envytools/envytools/"
-DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/envytools-2017.01.11_aae0c52a.tar.xz"
-MD5SUM="a5870250ecfca50653a1369ac6850181"
+DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/envytools-2017.09.29_6a23a12.tar.xz"
+MD5SUM="b3ef258f724b38ab2b49685a11b65087"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""