diff options
author | David Woodfall <dave@dawoodfall.net> | 2010-06-14 00:08:25 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-14 03:18:18 -0500 |
commit | f8ba736cc26e2b2b494cb2e2ea4af61a4e57615b (patch) | |
tree | e73a3656253472d1e92c4eb2f50c09503717297e /multimedia/farsight2/farsight2.SlackBuild | |
parent | 1652343610c5925d72c63ef4b26045c392c7402e (diff) |
multimedia/farsight2: Updated for version 0.0.19.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 b0cef04480073..9138380c0c58e 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 |