summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-04-24 03:54:52 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:50:24 +0200
commitae9dc301ed79f03da5064b6a94b7d4e7e37b40ff (patch)
treeb8a05a8848a6214876f1722d4e0150862e4811b5
parenteff8523e17f4e2ca9cdb0b69fe486b276e8b13c6 (diff)
downloadslackbuilds-ae9dc301ed79f03da5064b6a94b7d4e7e37b40ff.tar.gz
multimedia/gpac: Build bump, script cleanup.
-rw-r--r--multimedia/gpac/README4
-rw-r--r--multimedia/gpac/gpac.SlackBuild10
2 files changed, 6 insertions, 8 deletions
diff --git a/multimedia/gpac/README b/multimedia/gpac/README
index fcf60de572..dd2b7996e9 100644
--- a/multimedia/gpac/README
+++ b/multimedia/gpac/README
@@ -6,5 +6,5 @@ Dependencies:
REQUIRED: ffmpeg xvidcore faad2 a52dec
OPTIONAL: wxGTK
-wxGTK is disabled by default, can be turned on by running
-WX_SUPPORT=yes ./gpac.SlackBuild
+wxGTK is disabled by default, can be turned on by passing
+WX_SUPPORT=yes to the script
diff --git a/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild
index 458b36c103..74e88e3ae9 100644
--- a/multimedia/gpac/gpac.SlackBuild
+++ b/multimedia/gpac/gpac.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for gpac
# Home Page http://gpac.sourceforge.net/
-# Copyright (c) 2007-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net)
+# Copyright (c) 2007-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
PRGNAM=gpac
VERSION=0.4.5
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
TMP=${TMP:-/tmp/SBo}
@@ -95,10 +95,8 @@ cp -a AUTHORS COPYING BUGS Changelog INSTALLME \
README TODO doc/configuration.html $PKG/usr/doc/$PRGNAM-$VERSION
### strip binaries
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- 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
# find and compress man pages
( cd $PKG/usr/man