aboutsummaryrefslogtreecommitdiff
path: root/development/envytools
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2017-10-11 05:25:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-11 06:19:39 +0700
commit73db8f58f05f2b965debe2c0e780616370e216cb (patch)
tree48a818dd1789385264c0f8caf8223e3bdfbe0630 /development/envytools
parent92dee39d0a68cc7bb4ac3769406f26daf134ab62 (diff)
development/envytools: Updated for version 2017.09.29_6a23a12.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/envytools')
-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 ae66b8ff6a50..e2b530c0a1db 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 f455b430eb96..2536e4edde98 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=""