summaryrefslogtreecommitdiff
path: root/development/ddd/ddd.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-20 07:48:26 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-21 00:14:05 -0500
commit317dd891f9ee1ad99b4b4f051701397ce777f16f (patch)
tree376da4a43a060237bbe6c9a44f9f407c1c8d4188 /development/ddd/ddd.SlackBuild
parente4c45e2e69c82f90f2477fac4100768968b2e850 (diff)
downloadslackbuilds-317dd891f9ee1ad99b4b4f051701397ce777f16f.tar.gz
development/ddd: Removed (build failure)
Diffstat (limited to 'development/ddd/ddd.SlackBuild')
-rw-r--r--development/ddd/ddd.SlackBuild79
1 files changed, 0 insertions, 79 deletions
diff --git a/development/ddd/ddd.SlackBuild b/development/ddd/ddd.SlackBuild
deleted file mode 100644
index 1b0519f049..0000000000
--- a/development/ddd/ddd.SlackBuild
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/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}