summaryrefslogtreecommitdiff
path: root/graphics/leocad/leocad.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@gmail.com>2010-05-27 04:20:31 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-27 12:10:05 +0200
commitc10192dc58346f9e98d92a06b7b2b96ccf160f3f (patch)
treec65caf42c66d19202cb18845f6e6cdb5413d7e95 /graphics/leocad/leocad.SlackBuild
parentefcd74311cc95006aa89cbc60cb2180e5333d180 (diff)
downloadslackbuilds-c10192dc58346f9e98d92a06b7b2b96ccf160f3f.tar.gz
graphics/leocad: Removed (Build failure)
Diffstat (limited to 'graphics/leocad/leocad.SlackBuild')
-rw-r--r--graphics/leocad/leocad.SlackBuild71
1 files changed, 0 insertions, 71 deletions
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild
deleted file mode 100644
index 4acc9a7fc7..0000000000
--- a/graphics/leocad/leocad.SlackBuild
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for LeoCAD:
-# 3D design program for bricks
-
-# Written by Niels Horn - niels.horn@gmail.com
-# revision date 2009/10/10
-
-PRGNAM=leocad
-VERSION=0.75_r841
-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 -e
-
-rm -rf $TMP/$PRGNAM-$VERSION $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-make config PREFIX=/usr DESTDIR=$PKG
-CFLAGS="$SLKCFLAGS" CPPFLAGS="$SLKCFLAGS" make
-make install
-
-strip --strip-unneeded $PKG/usr/bin/$PRGNAM
-
-# Move & Compress man pages
-mv $PKG/usr/share/man $PKG/usr/man
-( 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
-)
-
-# Copy icon & desktop file to package
-mkdir -p $PKG/usr/share/{applications,pixmaps}
-cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CREDITS.txt README.txt docs/CHANGES.txt docs/COPYING.txt docs/INSTALL.txt \
- docs/LINUX.txt docs/TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
-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}