summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
author Philip Lacroix <slackph at posteo dot de>2017-02-17 22:21:20 +0000
committer David Spencer <idlemoor@slackbuilds.org>2017-02-17 22:23:16 +0000
commit114c84e570e74bbc42e09cde3ae655c81e9d72f6 (patch)
tree299bcd59d9d6844814e7692318074fc7c3706d20 /gis
parente7a3a76dbba0c9871e39b1f350afeeb00252cabc (diff)
downloadslackbuilds-114c84e570e74bbc42e09cde3ae655c81e9d72f6.tar.gz
slackbuilds-114c84e570e74bbc42e09cde3ae655c81e9d72f6.tar.xz
gis/routino: New maintainer, switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/routino/README7
-rw-r--r--gis/routino/routino.SlackBuild20
-rw-r--r--gis/routino/routino.info4
-rw-r--r--gis/routino/slack-desc2
4 files changed, 20 insertions, 13 deletions
diff --git a/gis/routino/README b/gis/routino/README
index e27ed19156..71eea0b991 100644
--- a/gis/routino/README
+++ b/gis/routino/README
@@ -1,3 +1,4 @@
-Routino is an application for finding a route between two points
-using the dataset of topographical information collected by
-http://www.OpenStreetMap.org
+Routino is an application for finding a route between two points using the
+dataset of topographical information collected by http://www.OpenStreetMap.org
+
+NOTE: only the x86_64 architecture is supported.
diff --git a/gis/routino/routino.SlackBuild b/gis/routino/routino.SlackBuild
index ab957e3dc8..50519ef0fc 100644
--- a/gis/routino/routino.SlackBuild
+++ b/gis/routino/routino.SlackBuild
@@ -2,7 +2,9 @@
# Slackware build script for routino
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016 Willy Sudiarto Raharjo <willysr at slackbuilds dot org>
+# Copyright 2017 Philip Lacroix <slackph at posteo dot de>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +31,7 @@ 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
@@ -55,6 +57,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
+
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,12 +72,15 @@ sed -i "s|/lib|/lib${LIBDIRSUFFIX}|g" Makefile.conf
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar ChangeLog doc/ *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# Install documentation.
+mkdir -p $PRGDOC
+cp -ar ChangeLog doc/{*.txt,html} $PRGDOC/
+cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/gis/routino/routino.info b/gis/routino/routino.info
index 1163fe280f..8361fb6bee 100644
--- a/gis/routino/routino.info
+++ b/gis/routino/routino.info
@@ -6,5 +6,5 @@ MD5SUM=""
DOWNLOAD_x86_64="http://www.routino.org/download/routino-3.1.1.tgz"
MD5SUM_x86_64="46c0bedf095071a1d034de6da2fb0e3c"
REQUIRES=""
-MAINTAINER="Willy Sudiarto Raharjo"
-EMAIL="willysr@slackbuilds.org"
+MAINTAINER="Philip Lacroix"
+EMAIL="slackph at posteo dot de"
diff --git a/gis/routino/slack-desc b/gis/routino/slack-desc
index 3a267e3768..3f1fe27ba0 100644
--- a/gis/routino/slack-desc
+++ b/gis/routino/slack-desc
@@ -12,8 +12,8 @@ routino: Routino is an application for finding a route between two points
routino: using the dataset of topographical information collected by
routino: http://www.OpenStreetMap.org.
routino:
+routino: Homepage: http://www.routino.org/
routino:
routino:
-routino: Project URL: http://www.routino.org/
routino:
routino: