me
/
guix
Archived
1
0
Fork 0

gnu: routino: Update to 3.4.1.

* gnu/packages/geo.scm (routino): Update to 3.4.1.
  [source]: Use HTTPS.
  [arguments]: Use G-expressions.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Hendursaga 2023-09-19 11:56:00 -04:00 committed by Guillaume Le Vaillant
parent f92bff51b4
commit 70fd6721f4
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 32 additions and 35 deletions

View File

@ -2157,43 +2157,40 @@ The API also works with MaxMinds free GeoLite2 databases.")
(define-public routino
(package
(name "routino")
(version "3.3.3")
(source
(origin
(method url-fetch)
(uri (string-append "http://www.routino.org/download/routino-"
version ".tgz"))
(sha256
(base32 "1xa7l2bjn832nk6bc7b481nv8hd2gj41jwhg0d2qy10lqdvjpn5b"))))
(build-system gnu-build-system)
(native-inputs
(list perl))
(inputs
(list bzip2 xz zlib))
(arguments
`(#:test-target "test"
#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "Makefile.conf"
(("prefix=/usr/local")
(string-append "prefix=" (assoc-ref outputs "out")))
(("LDFLAGS_LDSO=-Wl,-R\\.")
"LDFLAGS_LDSO=-Wl,-R$(libdir)")
(("#CFLAGS\\+=-DUSE_XZ")
"CFLAGS+=-DUSE_XZ")
(("#LDFLAGS\\+=-llzma")
"LDFLAGS+=-llzma"))
#t)))))
(synopsis "Routing application for OpenStreetMap data")
(description
"Routino is an application for finding a route between two points
(name "routino")
(version "3.4.1")
(source (origin
(method url-fetch)
(uri (string-append "https://www.routino.org/download/routino-"
version ".tgz"))
(sha256
(base32
"0aw5idqz7nv458llgwp5wcgikf34xcblpq46mq7msxfib0m8vahb"))))
(build-system gnu-build-system)
(native-inputs (list perl))
(inputs (list bzip2 xz zlib))
(arguments
(list #:test-target "test"
#:phases #~(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "Makefile.conf"
(("prefix=/usr/local")
(string-append "prefix="
(assoc-ref outputs "out")))
(("LDFLAGS_LDSO=-Wl,-R\\.")
"LDFLAGS_LDSO=-Wl,-R$(libdir)")
(("#CFLAGS\\+=-DUSE_XZ")
"CFLAGS+=-DUSE_XZ")
(("#LDFLAGS\\+=-llzma")
"LDFLAGS+=-llzma")))))))
(synopsis "Routing application for OpenStreetMap data")
(description
"Routino is an application for finding a route between two points
using the dataset of topographical information collected by
@url{https://www.OpenStreetMap.org}.")
(home-page "https://www.routino.org/")
(license license:agpl3+)))
(home-page "https://www.routino.org/")
(license license:agpl3+)))
(define-public r-rnaturalearthhires
(let ((commit "c3785a8c44738de6ae8f797080c0a337ebed929d")