diff options
author | Ferenc Deak <ferenc.deak@gmail.com> | 2010-05-13 00:57:52 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:57:52 +0200 |
commit | 227df986616d89919cb705206e847307fa70b6bb (patch) | |
tree | 28d8f253ec551fba8de3c6c64292e92b6b92f818 /development/ddd | |
parent | 12b4698c078275b1bc13df1830b362a452b43661 (diff) |
development/ddd: Added to 13.0 repository
Diffstat (limited to 'development/ddd')
-rw-r--r-- | development/ddd/README | 5 | ||||
-rw-r--r-- | development/ddd/ddd.SlackBuild | 79 | ||||
-rw-r--r-- | development/ddd/ddd.info | 10 | ||||
-rw-r--r-- | development/ddd/ddd.png | bin | 0 -> 5689 bytes | |||
-rw-r--r-- | development/ddd/doinst.sh | 4 | ||||
-rw-r--r-- | development/ddd/slack-desc | 19 |
6 files changed, 117 insertions, 0 deletions
diff --git a/development/ddd/README b/development/ddd/README new file mode 100644 index 0000000000000..85ce67edcffce --- /dev/null +++ b/development/ddd/README @@ -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. diff --git a/development/ddd/ddd.SlackBuild b/development/ddd/ddd.SlackBuild new file mode 100644 index 0000000000000..1b0519f049c64 --- /dev/null +++ b/development/ddd/ddd.SlackBuild @@ -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} diff --git a/development/ddd/ddd.info b/development/ddd/ddd.info new file mode 100644 index 0000000000000..268d52d5995f6 --- /dev/null +++ b/development/ddd/ddd.info @@ -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" diff --git a/development/ddd/ddd.png b/development/ddd/ddd.png Binary files differnew file mode 100644 index 0000000000000..eec9b8cb58d7f --- /dev/null +++ b/development/ddd/ddd.png diff --git a/development/ddd/doinst.sh b/development/ddd/doinst.sh new file mode 100644 index 0000000000000..4e8ba7071dea7 --- /dev/null +++ b/development/ddd/doinst.sh @@ -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 + diff --git a/development/ddd/slack-desc b/development/ddd/slack-desc new file mode 100644 index 0000000000000..913884c8232e4 --- /dev/null +++ b/development/ddd/slack-desc @@ -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: |