aboutsummaryrefslogtreecommitdiff
path: root/development/shed/shed.SlackBuild
diff options
context:
space:
mode:
authorDavid Woodfall <dave@unrealize.co.uk>2010-05-13 00:25:33 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:25:33 +0200
commita11482c6e87c8a689b7ce97b6ff6bc53e7fe4cae (patch)
tree8a1a077d1eb4950c182ac52aaf2c79bc10a540e2 /development/shed/shed.SlackBuild
parentbdfafaba4541b02c59475c562624da20f74f0696 (diff)
development/shed: Updated for version 1.15
Diffstat (limited to 'development/shed/shed.SlackBuild')
-rw-r--r--development/shed/shed.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/development/shed/shed.SlackBuild b/development/shed/shed.SlackBuild
index fd6a617b765d..ed79933eb274 100644
--- a/development/shed/shed.SlackBuild
+++ b/development/shed/shed.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for
+# Slackware build script for Shed
# Copyright 2009 David Woodfall <dave@unrealize.co.uk>
# All rights reserved.
@@ -36,10 +36,8 @@ 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"
@@ -87,14 +85,11 @@ make install DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUGS COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp AUTHORS BUGS COPYING INSTALL NEWS README TODO $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
-
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}