mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/edb-debugger: Updated for version 1.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
5b926e18a9
commit
fc3102e7a7
2 changed files with 20 additions and 25 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue