Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/routino/, sci-geosciences/routino/files/
Date: Sat, 01 Apr 2017 22:18:22
Message-Id: 1491084995.e80a1974963f3c3633ab857fb5e4e75cb83bc803.grozin@gentoo
1 commit: e80a1974963f3c3633ab857fb5e4e75cb83bc803
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 22:16:35 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 22:16:35 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80a1974
7
8 sci-geosciences/routino: bump to 3.2
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-geosciences/routino/Manifest | 1 +
13 sci-geosciences/routino/files/routino-3.2.patch | 30 +++++++++++++++++++++++++
14 sci-geosciences/routino/routino-3.2.ebuild | 23 +++++++++++++++++++
15 3 files changed, 54 insertions(+)
16
17 diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest
18 index 85ab15fb76c..1ba4e62bd8b 100644
19 --- a/sci-geosciences/routino/Manifest
20 +++ b/sci-geosciences/routino/Manifest
21 @@ -1 +1,2 @@
22 DIST routino-3.1.1.tgz 1795118 SHA256 23b9fce43f0a85c9efe220c6c72026dd7b37f6a4a5153bb9dc4c4b0747c7f282 SHA512 088f22e9297f485418ed369d00827690f86e224e331b69085513339870fe6d97cffef62aa5e7e14883800469beff4af4b0a581ba8bad78920a383d7152be6ede WHIRLPOOL 914180a728120ba189ff9bc2bf51c64246f635f7cc2e6b6efecf4dbb2c76f9b61f6269225620b5a5204025c838a6fcd8ffc24953a8cf24c084edbbdfb24a6b58
23 +DIST routino-3.2.tgz 2463662 SHA256 e2a431eaffbafab630835966d342e4ae25d5edb94c8ed419200e1ffb50bc7552 SHA512 f5be46d9c026fcd92658490630d9ff6e4827e84ee57ccbaae48f54372da37ab78de24432ab9fa1d6860304a9a2ac86061eb876c12b39e821693282c4d4aaefcf WHIRLPOOL c30ea87987e60d5ef57591bcba8190ece3cc8acfba2cb62035785238119c0d84db65e9f53a2935d8cd2bb0c3d37cd9b8970e9c6ba897b0874f847db31f0858ee
24
25 diff --git a/sci-geosciences/routino/files/routino-3.2.patch b/sci-geosciences/routino/files/routino-3.2.patch
26 new file mode 100644
27 index 00000000000..484b61b68f1
28 --- /dev/null
29 +++ b/sci-geosciences/routino/files/routino-3.2.patch
30 @@ -0,0 +1,30 @@
31 +diff -r -U1 routino-3.2.orig/Makefile.conf routino-3.2/Makefile.conf
32 +--- routino-3.2.orig/Makefile.conf 2016-11-22 20:22:52.000000000 +0100
33 ++++ routino-3.2/Makefile.conf 2017-04-01 23:58:23.835905270 +0200
34 +@@ -47,3 +47,3 @@
35 + ifneq ($(HOST),MINGW)
36 +-prefix=/usr/local
37 ++prefix=/usr
38 + bindir=$(prefix)/bin
39 +@@ -51,3 +51,3 @@
40 + libdir=$(prefix)/lib
41 +-docdir=$(prefix)/doc/routino
42 ++docdir=$(prefix)/share/doc/$(PF)
43 + datadir=$(prefix)/share/routino
44 +@@ -79,3 +79,3 @@
45 + # Language dialect selection
46 +-CFLAGS=-std=c99
47 ++CFLAGS+=-std=c99
48 +
49 +@@ -85,3 +85,3 @@
50 + # Optimisation options
51 +-CFLAGS+=-O3
52 ++#CFLAGS+=-O3
53 + CFLAGS+=-ffast-math
54 +@@ -141,4 +141,4 @@
55 + # Required for xz support (uncomment these two lines if required)
56 +-#CFLAGS+=-DUSE_XZ
57 +-#LDFLAGS+=-llzma
58 ++CFLAGS+=-DUSE_XZ
59 ++LDFLAGS+=-llzma
60 +
61
62 diff --git a/sci-geosciences/routino/routino-3.2.ebuild b/sci-geosciences/routino/routino-3.2.ebuild
63 new file mode 100644
64 index 00000000000..cb1ceff2cd3
65 --- /dev/null
66 +++ b/sci-geosciences/routino/routino-3.2.ebuild
67 @@ -0,0 +1,23 @@
68 +# Copyright 1999-2017 Gentoo Foundation
69 +# Distributed under the terms of the GNU General Public License v2
70 +EAPI=6
71 +
72 +DESCRIPTION="Routing application based on openstreetmap data"
73 +HOMEPAGE="http://www.routino.org/"
74 +SRC_URI="http://www.routino.org/download/${P}.tgz"
75 +LICENSE="AGPL-3+"
76 +SLOT="0"
77 +KEYWORDS="~amd64 ~x86"
78 +IUSE=""
79 +DEPEND=""
80 +PATCHES=( "${FILESDIR}"/${P}.patch )
81 +
82 +src_configure() {
83 + :
84 +}
85 +
86 +src_compile() {
87 + emake -j1
88 + rm README.txt
89 + mv doc/rm README.txt .
90 +}