aboutsummaryrefslogtreecommitdiff
path: root/gis/navit/navit.SlackBuild
diff options
context:
space:
mode:
authorSebastian Arcus <s.arcus@open-t.co.uk>2017-05-03 08:34:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-03 08:34:26 +0700
commit96927f68d3efcf9929ee9127c8504985f7fe6dd1 (patch)
treeb78f9f8330a8587cbd5ecebe39d81957344fda7d /gis/navit/navit.SlackBuild
parent9d0665d6d68ca6418394fcc9b699fa676f33070f (diff)
gis/navit: Updated for version R7404.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/navit/navit.SlackBuild')
-rw-r--r--gis/navit/navit.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/gis/navit/navit.SlackBuild b/gis/navit/navit.SlackBuild
index 0d08f4f3817a0..29306dd250e23 100644
--- a/gis/navit/navit.SlackBuild
+++ b/gis/navit/navit.SlackBuild
@@ -22,15 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=navit
-VERSION=${VERSION:-R6731}
+VERSION=${VERSION:-R7404}
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
@@ -41,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
@@ -90,9 +89,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING ChangeLog NEWS COPYRIGHT README GPL-2 LGPL-2 \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog COPYRIGHT README GPL-2 LGPL-2 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install