summaryrefslogtreecommitdiff
path: root/development/edb-debugger
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-07-10 14:27:57 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2021-07-10 14:27:57 +0200
commitfc3102e7a7fadb874eff24b33c3839b6992bfa8d (patch)
tree1220d417b1396749a7c2dbcf79a33f17bbd508bd /development/edb-debugger
parent5b926e18a9041cd03a3100b9c3a632b774d3e6e3 (diff)
downloadslackbuilds-fc3102e7a7fadb874eff24b33c3839b6992bfa8d.tar.gz
development/edb-debugger: Updated for version 1.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/edb-debugger')
-rw-r--r--development/edb-debugger/edb-debugger.SlackBuild37
-rw-r--r--development/edb-debugger/edb-debugger.info8
2 files changed, 20 insertions, 25 deletions
diff --git a/development/edb-debugger/edb-debugger.SlackBuild b/development/edb-debugger/edb-debugger.SlackBuild
index 125ed85ba8..93bc44c633 100644
--- a/development/edb-debugger/edb-debugger.SlackBuild
+++ b/development/edb-debugger/edb-debugger.SlackBuild
@@ -25,12 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=edb-debugger
-VERSION=${VERSION:-0.9.20}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PRGNAMPREFIX=edb
-SRCNAM=debugger
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -63,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tgz
-cd $SRCNAM
+rm -rf $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -73,27 +72,23 @@ 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 {} \;
-qmake
-make
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_INSTALL_DATAROOTDIR=/usr/share \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+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
-mkdir -p $PKG/usr/bin
-cp -a edb $PKG/usr/bin
-
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAMPREFIX
-cp -a lib*.so $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAMPREFIX
-
-mkdir -p $PKG/usr/man/man1
-gzip -9 edb.1 edb.1.gz
-cp -a edb.1.gz $PKG/usr/man/man1
-
-mkdir -p $PKG/usr/include/$PRGNAMPREFIX
-cp -a include/. $PKG/usr/include/$PRGNAMPREFIX
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/. BUGS CHANGELOG COPYING README README.plugins TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUGS CHANGELOG COPYING README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/edb-debugger/edb-debugger.info b/development/edb-debugger/edb-debugger.info
index 1477a74bcf..4e5052ab7d 100644
--- a/development/edb-debugger/edb-debugger.info
+++ b/development/edb-debugger/edb-debugger.info
@@ -1,10 +1,10 @@
PRGNAM="edb-debugger"
-VERSION="0.9.20"
+VERSION="1.3.0"
HOMEPAGE="http://codef00.com/projects#debugger"
-DOWNLOAD="http://codef00.com/projects/debugger-0.9.20.tgz"
-MD5SUM="5916d415f598fae8632dd763f58e11d1"
+DOWNLOAD="https://github.com/eteran/edb-debugger/releases/download/1.3.0/edb-debugger-1.3.0.tgz"
+MD5SUM="8f718aae43d6b1e683ffe9e90f7cc984"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="capstone"
MAINTAINER="P.D. Parnoff"
EMAIL="cryptoanarquismo@biofcentral.com"