1 |
commit: a6f1ed760f2dd6c44ba015479e32d8a8ac037370 |
2 |
Author: Amy Liffey <amynka <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 21 17:32:22 2018 +0000 |
4 |
Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 21 17:44:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f1ed76 |
7 |
|
8 |
sci-libs/shapelib: version bump 1.4.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/650946 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
sci-libs/shapelib/Manifest | 1 + |
14 |
sci-libs/shapelib/shapelib-1.4.1.ebuild | 38 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/sci-libs/shapelib/Manifest b/sci-libs/shapelib/Manifest |
18 |
index 89d22bc9441..52b9b34c4b6 100644 |
19 |
--- a/sci-libs/shapelib/Manifest |
20 |
+++ b/sci-libs/shapelib/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST shapelib-1.4.0.tar.gz 548990 BLAKE2B 0e75481d35f8dc5687eee23696d46a780d4b185a81ca1246e5c19f01e58f4a55dc7b69347c9effa01ac1786c5271dfe3907798cc81fe9314979c502bcb9d982d SHA512 206b81fe859a837e821e449ab1b2dbd5a3aa7abd1871da4aec69e130b6fad6300697429884ce359c90e4b76bca90e2108f32b9fdbd3b92013fa5a39f3bedeeb1 |
23 |
+DIST shapelib-1.4.1.tar.gz 549831 BLAKE2B e579704bd71c2525133f87628261e78f39e8063cd7e8a57997e90a8ca4a6ebb5de3a4d1ab8da5d00afe1363d9eb22e8c7a9a66ac109c300b72b6d26bd87b61fd SHA512 791c1a0d6c5ff09341176f68349ebd760ae91e8749a9f844299d7ac38a42c4f1131e63479c384a8a8b05a89e90d02e9fd92c526cab417eb80b171d639b4a4422 |
24 |
|
25 |
diff --git a/sci-libs/shapelib/shapelib-1.4.1.ebuild b/sci-libs/shapelib/shapelib-1.4.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..87fe28c275f |
28 |
--- /dev/null |
29 |
+++ b/sci-libs/shapelib/shapelib-1.4.1.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="Library for manipulating ESRI Shapefiles" |
39 |
+HOMEPAGE="http://shapelib.maptools.org/" |
40 |
+SRC_URI="http://download.osgeo.org/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2 LGPL-2" |
43 |
+SLOT="0/2" |
44 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
45 |
+IUSE="doc static-libs" |
46 |
+ |
47 |
+RDEPEND="sci-libs/proj" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ rm -r m4/* || die |
53 |
+ eautoreconf |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ econf \ |
58 |
+ --includedir=/usr/include/libshp |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ use doc && HTML_DOCS=( web/. ) |
63 |
+ default |
64 |
+ |
65 |
+ if ! use static-libs; then |
66 |
+ find "${D}" \( -name '*.la' -o -name '*.a' \) -delete || die |
67 |
+ fi |
68 |
+} |