summaryrefslogtreecommitdiff
path: root/network/udpcast/udpcast.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:38:33 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:38:33 +0200
commitf2b4d25edd71bb4568329565f99a08dd6bf73f0a (patch)
treee623a2af09788f46d908b1eaa0ae2c62a3468c4f /network/udpcast/udpcast.SlackBuild
parent14bc8f77a1da2a83e83b4932d11a1fa3b75fdf78 (diff)
downloadslackbuilds-f2b4d25edd71bb4568329565f99a08dd6bf73f0a.tar.gz
network/udpcast: Updated for version 20091031
Diffstat (limited to 'network/udpcast/udpcast.SlackBuild')
-rw-r--r--network/udpcast/udpcast.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/network/udpcast/udpcast.SlackBuild b/network/udpcast/udpcast.SlackBuild
index 928aa7224c..6fd8c3bf24 100644
--- a/network/udpcast/udpcast.SlackBuild
+++ b/network/udpcast/udpcast.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for udpcast
-# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2007-2009 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=udpcast
-VERSION=20081213
+VERSION=20091031
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ 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
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -81,4 +85,4 @@ 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}