development/envytools: Updated for version 2017.09.29_6a23a12.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Hunter Sezen 2017-10-11 05:25:37 +07:00 committed by Willy Sudiarto Raharjo
parent 92dee39d0a
commit 73db8f58f0
2 changed files with 12 additions and 10 deletions

View file

@ -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

View file

@ -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=""