sci-geosciences/routino: bump to 3.1.1
authorAndrey Grozin <grozin@gentoo.org>
Sat, 16 Jul 2016 11:55:57 +0000 (17:55 +0600)
committerAndrey Grozin <grozin@gentoo.org>
Sat, 16 Jul 2016 11:55:57 +0000 (17:55 +0600)
Package-Manager: portage-2.3.0

sci-geosciences/routino/Manifest
sci-geosciences/routino/files/routino-3.1.1.patch [new file with mode: 0644]
sci-geosciences/routino/routino-3.1.1.ebuild [new file with mode: 0644]

index 222a9cc2d6e8fa551a7815d33d5f4e973dc770f3..4e42f1da08940d1d8a4cf6115f1a95081f2dfabe 100644 (file)
@@ -1 +1,2 @@
 DIST routino-3.0_p1.tgz 957022 SHA256 037892a09cf2bb790d895d218a80c221e9595a3943ca35163c71ed93b111431e SHA512 be6275e8fcc0fe535a0940ba26fdf8e8ecfde768e4b2baaabf088a39431dc259933c3aa02ff3e28c5bf145402d18e6369a16d2c7a50fd1b84695dd31c155341f WHIRLPOOL 1e097aaa00437e08b485f4ce9d027cb31f3e320b5f61883a230ad235ccea8ca53c79bf0e428013434b91d0533f1212c43dd8a9f05eec2394cced070f83eb61ef
+DIST routino-3.1.1.tgz 1795118 SHA256 23b9fce43f0a85c9efe220c6c72026dd7b37f6a4a5153bb9dc4c4b0747c7f282 SHA512 088f22e9297f485418ed369d00827690f86e224e331b69085513339870fe6d97cffef62aa5e7e14883800469beff4af4b0a581ba8bad78920a383d7152be6ede WHIRLPOOL 914180a728120ba189ff9bc2bf51c64246f635f7cc2e6b6efecf4dbb2c76f9b61f6269225620b5a5204025c838a6fcd8ffc24953a8cf24c084edbbdfb24a6b58
diff --git a/sci-geosciences/routino/files/routino-3.1.1.patch b/sci-geosciences/routino/files/routino-3.1.1.patch
new file mode 100644 (file)
index 0000000..15ba41b
--- /dev/null
@@ -0,0 +1,34 @@
+diff -r -U1 routino-3.1.1.orig/Makefile.conf routino-3.1.1/Makefile.conf
+--- routino-3.1.1.orig/Makefile.conf   2016-03-05 19:49:21.000000000 +0600
++++ routino-3.1.1/Makefile.conf        2016-07-16 20:09:22.208869580 +0600
+@@ -47,3 +47,3 @@
+ ifneq ($(HOST),MINGW)
+-prefix=/usr/local
++prefix=/usr
+ bindir=$(prefix)/bin
+@@ -51,3 +51,3 @@
+ libdir=$(prefix)/lib
+-docdir=$(prefix)/doc/routino
++docdir=$(prefix)/share/doc/$(PF)
+ datadir=$(prefix)/share/routino
+@@ -76,6 +76,6 @@
+ # Maths library
+-LDFLAGS=-lm
++LDFLAGS+=-lm
+ # Language dialect selection
+-CFLAGS=-std=c99
++CFLAGS+=-std=c99
+@@ -85,3 +85,3 @@
+ # Optimisation options
+-CFLAGS+=-O3
++#CFLAGS+=-O3
+ CFLAGS+=-ffast-math
+@@ -141,4 +141,4 @@
+ # Required for xz support (uncomment these two lines if required)
+-#CFLAGS+=-DUSE_XZ
+-#LDFLAGS+=-llzma
++CFLAGS+=-DUSE_XZ
++LDFLAGS+=-llzma
diff --git a/sci-geosciences/routino/routino-3.1.1.ebuild b/sci-geosciences/routino/routino-3.1.1.ebuild
new file mode 100644 (file)
index 0000000..adc5f96
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+DESCRIPTION="Routing application based on openstreetmap data"
+HOMEPAGE="http://www.routino.org/"
+SRC_URI="http://www.routino.org/download/${P}.tgz"
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND=""
+PATCHES=( "${FILESDIR}"/${P}.patch )
+
+src_configure() {
+       :
+}
+
+src_compile() {
+       emake -j1
+       rm README.txt
+       mv doc/rm README.txt .
+}