aboutsummaryrefslogtreecommitdiff
path: root/network/linuxdcpp/linuxdcpp.SlackBuild
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-13 00:37:04 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:37:04 +0200
commit7f3622f1f2a1d0ca4fcb410b4536d9a3c543c4b7 (patch)
treed4193824f1282822c4ca1efb4b4530b558d9c38b /network/linuxdcpp/linuxdcpp.SlackBuild
parent2b34d3414d879e661f79b3b0202a03dc1aaaf6db (diff)
network/linuxdcpp: Updated for version 1.0.3
Diffstat (limited to 'network/linuxdcpp/linuxdcpp.SlackBuild')
-rw-r--r--network/linuxdcpp/linuxdcpp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/linuxdcpp/linuxdcpp.SlackBuild b/network/linuxdcpp/linuxdcpp.SlackBuild
index 3b0cbc3c78566..936388412fa63 100644
--- a/network/linuxdcpp/linuxdcpp.SlackBuild
+++ b/network/linuxdcpp/linuxdcpp.SlackBuild
@@ -33,6 +33,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
@@ -79,7 +80,7 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
if [ "$1" = "--cleanup" ]; then
rm -rf $PKG $TMP/$PRGNAM-$VERSION