aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gpac/gpac.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2017-06-21 22:04:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:18 +0700
commit277e08949302a6f1885095b3b04992c184568b1d (patch)
treeb8f91f373f76704b62ac899093c60be2631baf02 /multimedia/gpac/gpac.SlackBuild
parent4305d37a30acf9d25b3db73a3ca51277a2a3d2c4 (diff)
multimedia/gpac: Updated for version 0.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/gpac/gpac.SlackBuild')
-rw-r--r--multimedia/gpac/gpac.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild
index fe73a1badde87..396ceae938fb8 100644
--- a/multimedia/gpac/gpac.SlackBuild
+++ b/multimedia/gpac/gpac.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for gpac
# Home Page: https://gpac.wp.mines-telecom.fr/
-# Copyright (c) 2007-2016, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2007-2017, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
@@ -26,13 +26,13 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="gpac"
-VERSION=${VERSION:-0.6.1}
+VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,8 +45,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,10 +72,11 @@ else
amr_option="--enable-amr"
fi
-rm -rf $PKG $TMP/$PRGNAM-$VERSION
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+rm -f $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root.root .
find -L . \