development/ddd: Added to 13.0 repository
This commit is contained in:
parent
12b4698c07
commit
227df98661
|
@ -0,0 +1,5 @@
|
||||||
|
GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX,
|
||||||
|
WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger, or the Python
|
||||||
|
debugger. Besides "usual" front-end features such as viewing source texts,
|
||||||
|
DDD has become famous through its interactive graphical data display, where
|
||||||
|
data structures are displayed as graphs.
|
|
@ -0,0 +1,79 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for ddd
|
||||||
|
# Written by Ferenc Deak <ferenc.deak@gmail.com>
|
||||||
|
|
||||||
|
# Slight modifications by the SlackBuilds projects
|
||||||
|
# Modified by Ken Milmore 2009
|
||||||
|
|
||||||
|
PRGNAM=ddd
|
||||||
|
VERSION=3.3.12
|
||||||
|
ARCH=${ARCH:-i486}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/SBo}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i486" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||||
|
cd $PRGNAM-$VERSION
|
||||||
|
chown -R root:root .
|
||||||
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib$LIBDIRSUFFIX \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--infodir=/usr/info \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# DDD installs a .desktop file, but not an icon...
|
||||||
|
mkdir -p $PKG/usr/share/pixmaps
|
||||||
|
cat $CWD/ddd.png > $PKG/usr/share/pixmaps/ddd.png
|
||||||
|
|
||||||
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
( cd $PKG/usr/man
|
||||||
|
find . -type f -exec gzip -9 {} \;
|
||||||
|
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
)
|
||||||
|
|
||||||
|
rm -f $PKG/usr/info/dir
|
||||||
|
gzip -9 $PKG/usr/info/*
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a AUTHORS COPYING* CREDITS NEWS PROBLEMS README TIPS TODO doc/ddd.pdf doc/ddd-paper.ps doc/html/ddd.html \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -0,0 +1,10 @@
|
||||||
|
PRGNAM="ddd"
|
||||||
|
VERSION="3.3.12"
|
||||||
|
HOMEPAGE="http://www.gnu.org/software/ddd/"
|
||||||
|
DOWNLOAD="ftp://ftp.gnu.org/gnu/ddd/ddd-3.3.12.tar.gz"
|
||||||
|
MD5SUM="c50396db7bac3862a6d2555b3b22c34e"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
MAINTAINER="Ferenc Deak"
|
||||||
|
EMAIL="ferenc.deak@gmail.com"
|
||||||
|
APPROVED="rworkman"
|
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also customary
|
||||||
|
# to leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
ddd: ddd (Data Display Debugger)
|
||||||
|
ddd:
|
||||||
|
ddd: GNU DDD is a graphical front-end for command-line debuggers such as
|
||||||
|
ddd: GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash
|
||||||
|
ddd: debugger, or the Python debugger. Besides "usual" front-end features
|
||||||
|
ddd: such as viewing source texts, DDD has become famous through its
|
||||||
|
ddd: interactive graphical data display, where data structures are
|
||||||
|
ddd: displayed as graphs.
|
||||||
|
ddd:
|
||||||
|
ddd:
|
||||||
|
ddd:
|
Loading…
Reference in New Issue