summaryrefslogtreecommitdiff
path: root/network/linuxdcpp/linuxdcpp.SlackBuild
diff options
context:
space:
mode:
authorNiklas 'Nille' Åkerström <nille.kungen[AT]gmail.com>2011-07-01 23:32:20 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-01 23:32:20 -0300
commite68661ecf3ce22fa7bae568707f59359bac66d6e (patch)
tree5efc3787defee670e399dab61fafce40d820c7c3 /network/linuxdcpp/linuxdcpp.SlackBuild
parent9b1c1ea549fe79fdc069bf9addfe45229f62b45b (diff)
downloadslackbuilds-e68661ecf3ce22fa7bae568707f59359bac66d6e.tar.gz
network/linuxdcpp: Updated for version 1.1.0.
Diffstat (limited to 'network/linuxdcpp/linuxdcpp.SlackBuild')
-rw-r--r--network/linuxdcpp/linuxdcpp.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/network/linuxdcpp/linuxdcpp.SlackBuild b/network/linuxdcpp/linuxdcpp.SlackBuild
index e232a6f5a0..556fac7cac 100644
--- a/network/linuxdcpp/linuxdcpp.SlackBuild
+++ b/network/linuxdcpp/linuxdcpp.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=linuxdcpp
-VERSION=1.0.3
+VERSION=1.1.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,9 +60,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
scons \
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
FAKE_ROOT=$PKG \
debug=no \
@@ -90,7 +88,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
-if [ "$1" = "--cleanup" ]; then
- rm -rf $PKG $TMP/$PRGNAM-$VERSION
- fi