diff options
Diffstat (limited to 'multimedia/farsight2/farsight2.SlackBuild')
-rw-r--r-- | multimedia/farsight2/farsight2.SlackBuild | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/multimedia/farsight2/farsight2.SlackBuild b/multimedia/farsight2/farsight2.SlackBuild index b0cef04480..9138380c0c 100644 --- a/multimedia/farsight2/farsight2.SlackBuild +++ b/multimedia/farsight2/farsight2.SlackBuild @@ -1,12 +1,9 @@ #!/bin/sh # Slackware build script for farsight2 - -# Copyright 2009 David Woodfall <dave@unrealize.co.uk> +# Copyright 2010 David Woodfall <dave@dawoodfall.net> # All rights reserved. # -# aka dive in #slackware on freenode.net -# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -22,21 +19,17 @@ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FURTHERMORE I AM NOT LIABLE IF -# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF. - +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=farsight2 -VERSION=${VERSION:-0.0.17} +VERSION=${VERSION:-0.0.19} 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 @@ -60,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -75,10 +68,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Patch Farsight2 to not use udp-bsd.h from libnice; it is no longer needed -# with libnice-0.0.11: https://bugs.freedesktop.org/show_bug.cgi?id=27260 -patch -p1 < $CWD/do_not_use_udp-bsd_h.patch - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -96,14 +85,9 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog NEWS INSTALL README \ + README AUTHORS INSTALL ChangeLog COPYING NEWS \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |