summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-08 21:32:00 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:35:58 +0700
commitce6f1149ba7ef320d1eb252178cc95d8d8411827 (patch)
treebd025c9cf6ab675328e23113107b03e1aa0ccc1b /development
parent2d439212f0d9ad103be0ebdbf7edbce9f62c69e9 (diff)
downloadslackbuilds-ce6f1149ba7ef320d1eb252178cc95d8d8411827.tar.gz
development/valabind: Updated for version 1.8.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/valabind/valabind.SlackBuild23
-rw-r--r--development/valabind/valabind.info8
2 files changed, 20 insertions, 11 deletions
diff --git a/development/valabind/valabind.SlackBuild b/development/valabind/valabind.SlackBuild
index aa5bdb6a35..5a2e54b705 100644
--- a/development/valabind/valabind.SlackBuild
+++ b/development/valabind/valabind.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=valabind
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,12 +79,21 @@ 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 {} \;
-make \
- CFLAGS="$SLKCFLAGS"
-
-make install \
- MANDIR=/usr/man \
- DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
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
diff --git a/development/valabind/valabind.info b/development/valabind/valabind.info
index 389535a79a..c22a2cdac6 100644
--- a/development/valabind/valabind.info
+++ b/development/valabind/valabind.info
@@ -1,8 +1,8 @@
PRGNAM="valabind"
-VERSION="1.4.0"
-HOMEPAGE="http://radare.org/"
-DOWNLOAD="https://github.com/radare/valabind/archive/1.4.0/valabind-1.4.0.tar.gz"
-MD5SUM="c710b99ac4c27f4ed45dc38eccbc8544"
+VERSION="1.8.0"
+HOMEPAGE="https://radare.org/n/"
+DOWNLOAD="https://github.com/radare/valabind/archive/1.8.0/valabind-1.8.0.tar.gz"
+MD5SUM="427c07a82902506c65101952af6bb2f1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""