Browse Source

gis/openorienteering-mapper: Updated for version 0.8.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
pull/47/head
Nikolay Korotkiy 8 years ago
committed by Willy Sudiarto Raharjo
parent
commit
4906129730
  1. 4
      gis/openorienteering-mapper/README
  2. 11
      gis/openorienteering-mapper/openorienteering-mapper.SlackBuild
  3. 6
      gis/openorienteering-mapper/openorienteering-mapper.info
  4. 8
      gis/openorienteering-mapper/slack-desc

4
gis/openorienteering-mapper/README

@ -1,2 +1,2 @@
OpenOrienteering Mapper is software for creating maps for the
orienteering sport.
OpenOrienteering Mapper is an orienteering mapmaking program and provides
a free and open source alternative to existing commercial software.

11
gis/openorienteering-mapper/openorienteering-mapper.SlackBuild

@ -2,7 +2,7 @@
# Slackware build script for OpenOrienteering Mapper
# Copyright 2016-2017, Nikolay Korotkiy <sikmir@gmail.com>
# Copyright 2016-2018, Nikolay Korotkiy <sikmir@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openorienteering-mapper
VERSION=${VERSION:-0.7.0}
VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -72,16 +72,15 @@ find -L . \
mkdir -p build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLICENSING_PROVIDER:BOOL=OFF \
-DMapper_PACKAGE_NAME=$PRGNAM \
-Wno-dev \
-DCMAKE_BUILD_TYPE=Release ..
-Wno-dev ..
make
make install DESTDIR=$PKG
rm -fr $PKG/DEBIAN
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@ -92,6 +91,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL.md README.md $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/openorienteering-mapper/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

6
gis/openorienteering-mapper/openorienteering-mapper.info

@ -1,8 +1,8 @@
PRGNAM="openorienteering-mapper"
VERSION="0.7.0"
VERSION="0.8.0"
HOMEPAGE="http://www.openorienteering.org/apps/mapper/"
DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.7.0/mapper-0.7.0.tar.gz"
MD5SUM="2b750ea2dbb26328f188f8e64e63c890"
DOWNLOAD="https://github.com/OpenOrienteering/mapper/archive/v0.8.0/mapper-0.8.0.tar.gz"
MD5SUM="8bd354a0343df70a46bc8fcd72567a68"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gdal polyclipping proj qt5"

8
gis/openorienteering-mapper/slack-desc

@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
openorienteering-mapper: openorienteering-mapper (Orienteering mapmaking program)
openorienteering-mapper:
openorienteering-mapper: OpenOrienteering Mapper is software for creating maps for the
openorienteering-mapper: orienteering sport.
openorienteering-mapper: openorienteering-mapper (map drawing program from OpenOrienteering)
openorienteering-mapper:
openorienteering-mapper: OpenOrienteering Mapper is an orienteering mapmaking program and
openorienteering-mapper: provides a free and open source alternative to existing commercial
openorienteering-mapper: software.
openorienteering-mapper:
openorienteering-mapper:
openorienteering-mapper: Homepage: http://www.openorienteering.org/apps/mapper/

Loading…
Cancel
Save