aboutsummaryrefslogtreecommitdiff
path: root/audio/aacplusenc/aacplusenc.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-01-22 20:13:39 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-24 00:21:47 +0000
commite200a2e12576c765d7862c438344b2d44242f63e (patch)
tree1900597043a02e2d582a96110e20714af6b0cf2e /audio/aacplusenc/aacplusenc.SlackBuild
parentbd70048333137db89d2ed6cbd80311f932346935 (diff)
audio/aacplusenc: Minor cleanups.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/aacplusenc/aacplusenc.SlackBuild')
-rw-r--r--audio/aacplusenc/aacplusenc.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/aacplusenc/aacplusenc.SlackBuild b/audio/aacplusenc/aacplusenc.SlackBuild
index 40b9bf0d1d56d..b45b95c782da6 100644
--- a/audio/aacplusenc/aacplusenc.SlackBuild
+++ b/audio/aacplusenc/aacplusenc.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for aacplusenc.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=aacplusenc
VERSION=${VERSION:-0.17.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -41,7 +41,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -56,12 +56,10 @@ fi
set -e
-SRCNAM="libtta-cpp"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
mv $PRGNAM $PRGNAM-$VERSION
cd $PRGNAM-$VERSION