From 288b7a272d92d2632663b2e6e2fb40761b8deee0 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Tue, 11 May 2010 22:25:52 +0200 Subject: [PATCH] network/udpcast: Updated for version 20081116 --- network/udpcast/slack-desc | 2 +- network/udpcast/udpcast.SlackBuild | 16 +++++++++------- network/udpcast/udpcast.info | 10 +++++----- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/network/udpcast/slack-desc b/network/udpcast/slack-desc index 166d83266c..c9fc098628 100644 --- a/network/udpcast/slack-desc +++ b/network/udpcast/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler---------------------------------------------------| + |-----handy-ruler-----------------------------------------------------| udpcast: udpcast (UDP File-Sender/Receiver) udpcast: udpcast: Udpcast is a commandline program for transmitting or receiving diff --git a/network/udpcast/udpcast.SlackBuild b/network/udpcast/udpcast.SlackBuild index ab3fded901..689dcdf1eb 100644 --- a/network/udpcast/udpcast.SlackBuild +++ b/network/udpcast/udpcast.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for udpcast -# Copyright 2007-2008 Heinz Wiesinger +# Copyright 2007-2008 Heinz Wiesinger # 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=20071228 +VERSION=20081116 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -55,16 +57,16 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ + --localstatedir=/var \ --mandir=/usr/man \ - --localstatedir=/var + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; diff --git a/network/udpcast/udpcast.info b/network/udpcast/udpcast.info index b487c5def1..c15dfd1db9 100644 --- a/network/udpcast/udpcast.info +++ b/network/udpcast/udpcast.info @@ -1,8 +1,8 @@ PRGNAM="udpcast" -VERSION="20071228" +VERSION="20081116" HOMEPAGE="http://udpcast.linux.lu" -DOWNLOAD="http://udpcast.linux.lu/download/udpcast-20071228.tar.gz" -MD5SUM="064cfdbcdfe5f18552835ae88e3211f1" +DOWNLOAD="http://udpcast.linux.lu/download/udpcast-20081116.tar.gz" +MD5SUM="b4a293023b06705577edfbbed383c3d3" MAINTAINER="ppr:kut" -EMAIL="HMWiesinger@gmx.at" -APPROVED="Michiel" +EMAIL="pprkut@liwjatan.at" +APPROVED="Erik Hanson,rworkman"