1 |
commit: fe8080a62239979335fd328c29753618eb03b7e9 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 4 09:25:30 2016 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 4 09:26:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe8080a6 |
7 |
|
8 |
sci-geosciences/routino: initial import 3.0_p1 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
sci-geosciences/routino/Manifest | 1 + |
13 |
sci-geosciences/routino/files/makefile-conf.patch | 35 +++++++++++++++++++++++ |
14 |
sci-geosciences/routino/metadata.xml | 17 +++++++++++ |
15 |
sci-geosciences/routino/routino-3.0_p1.ebuild | 23 +++++++++++++++ |
16 |
4 files changed, 76 insertions(+) |
17 |
|
18 |
diff --git a/sci-geosciences/routino/Manifest b/sci-geosciences/routino/Manifest |
19 |
new file mode 100644 |
20 |
index 0000000..222a9cc |
21 |
--- /dev/null |
22 |
+++ b/sci-geosciences/routino/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST routino-3.0_p1.tgz 957022 SHA256 037892a09cf2bb790d895d218a80c221e9595a3943ca35163c71ed93b111431e SHA512 be6275e8fcc0fe535a0940ba26fdf8e8ecfde768e4b2baaabf088a39431dc259933c3aa02ff3e28c5bf145402d18e6369a16d2c7a50fd1b84695dd31c155341f WHIRLPOOL 1e097aaa00437e08b485f4ce9d027cb31f3e320b5f61883a230ad235ccea8ca53c79bf0e428013434b91d0533f1212c43dd8a9f05eec2394cced070f83eb61ef |
25 |
|
26 |
diff --git a/sci-geosciences/routino/files/makefile-conf.patch b/sci-geosciences/routino/files/makefile-conf.patch |
27 |
new file mode 100644 |
28 |
index 0000000..ca75131 |
29 |
--- /dev/null |
30 |
+++ b/sci-geosciences/routino/files/makefile-conf.patch |
31 |
@@ -0,0 +1,35 @@ |
32 |
+diff -r -U1 routino-3.0.orig/Makefile.conf routino-3.0/Makefile.conf |
33 |
+--- routino-3.0.orig/Makefile.conf 2015-09-08 00:11:23.000000000 +0600 |
34 |
++++ routino-3.0/Makefile.conf 2016-01-04 13:02:46.557516477 +0600 |
35 |
+@@ -47,3 +47,3 @@ |
36 |
+ ifneq ($(HOST),MINGW) |
37 |
+-prefix=/usr/local |
38 |
++prefix=/usr |
39 |
+ bindir=$(prefix)/bin |
40 |
+@@ -51,3 +51,3 @@ |
41 |
+ libdir=$(prefix)/lib |
42 |
+-docdir=$(prefix)/doc/routino |
43 |
++docdir=$(prefix)/share/doc/$(PF) |
44 |
+ datadir=$(prefix)/share/routino |
45 |
+@@ -69,3 +69,3 @@ |
46 |
+ # Language dialect selection |
47 |
+-CFLAGS=-std=c99 |
48 |
++CFLAGS+=-std=c99 |
49 |
+ |
50 |
+@@ -75,3 +75,3 @@ |
51 |
+ # Optimisation options |
52 |
+-CFLAGS+=-O3 |
53 |
++#CFLAGS+=-O3 |
54 |
+ CFLAGS+=-ffast-math |
55 |
+@@ -86,3 +86,3 @@ |
56 |
+ # Maths library |
57 |
+-LDFLAGS=-lm |
58 |
++LDFLAGS+=-lm |
59 |
+ |
60 |
+@@ -121,4 +121,4 @@ |
61 |
+ # Required for xz support (uncomment these two lines if required) |
62 |
+-#CFLAGS+=-DUSE_XZ |
63 |
+-#LDFLAGS+=-llzma |
64 |
++CFLAGS+=-DUSE_XZ |
65 |
++LDFLAGS+=-llzma |
66 |
+ |
67 |
|
68 |
diff --git a/sci-geosciences/routino/metadata.xml b/sci-geosciences/routino/metadata.xml |
69 |
new file mode 100644 |
70 |
index 0000000..577c6e9 |
71 |
--- /dev/null |
72 |
+++ b/sci-geosciences/routino/metadata.xml |
73 |
@@ -0,0 +1,17 @@ |
74 |
+<?xml version="1.0" encoding="UTF-8"?> |
75 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
76 |
+<pkgmetadata> |
77 |
+ <herd>sci</herd> |
78 |
+ <maintainer> |
79 |
+ <email>grozin@g.o</email> |
80 |
+ <name>Andrey Grozin</name> |
81 |
+ </maintainer> |
82 |
+ <longdescription lang="en"> |
83 |
+ An application for finding a route between two points using the dataset |
84 |
+ of topographical information collected by http://www.OpenStreetMap.org. |
85 |
+ This router uses a routing algorithm that takes OSM format data as its input |
86 |
+ and calculates either the shortest or quickest route between two points. |
87 |
+ To optimise the routing a custom database format is used. |
88 |
+ This allows the routing to be performed quickly after a modest one-off pre-processing stage. |
89 |
+ </longdescription> |
90 |
+</pkgmetadata> |
91 |
|
92 |
diff --git a/sci-geosciences/routino/routino-3.0_p1.ebuild b/sci-geosciences/routino/routino-3.0_p1.ebuild |
93 |
new file mode 100644 |
94 |
index 0000000..698b897 |
95 |
--- /dev/null |
96 |
+++ b/sci-geosciences/routino/routino-3.0_p1.ebuild |
97 |
@@ -0,0 +1,23 @@ |
98 |
+# Copyright 1999-2016 Gentoo Foundation |
99 |
+# Distributed under the terms of the GNU General Public License v2 |
100 |
+# $Id$ |
101 |
+EAPI=6 |
102 |
+ |
103 |
+DESCRIPTION="Routing application based on openstreetmap data" |
104 |
+HOMEPAGE="http://www.routino.org/" |
105 |
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.tgz" |
106 |
+LICENSE="AGPL-3+" |
107 |
+SLOT="0" |
108 |
+KEYWORDS="~amd64 ~x86" |
109 |
+IUSE="" |
110 |
+DEPEND="" |
111 |
+RDEPEND="!<sci-geosciences/qmapshack-1.5" |
112 |
+PATCHES=( "${FILESDIR}"/makefile-conf.patch ) |
113 |
+ |
114 |
+src_configure() { |
115 |
+ : |
116 |
+} |
117 |
+ |
118 |
+src_compile() { |
119 |
+ emake -j1 |
120 |
+} |