summaryrefslogtreecommitdiff
path: root/development/shed/shed.SlackBuild
diff options
context:
space:
mode:
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 fd6a617b76..ed79933eb2 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}