1 |
commit: 4b467cf776c315eb62a08cd19e0bfe054ec88600 |
2 |
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Mar 25 19:50:48 2019 +0000 |
4 |
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 11 14:31:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b467cf7 |
7 |
|
8 |
sci-libs/shapelib: version bump 1.5.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/685232 |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/11506 |
14 |
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org> |
15 |
|
16 |
sci-libs/shapelib/Manifest | 1 + |
17 |
sci-libs/shapelib/shapelib-1.5.0.ebuild | 36 +++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 37 insertions(+) |
19 |
|
20 |
diff --git a/sci-libs/shapelib/Manifest b/sci-libs/shapelib/Manifest |
21 |
index 52b9b34c4b6..bf41398c813 100644 |
22 |
--- a/sci-libs/shapelib/Manifest |
23 |
+++ b/sci-libs/shapelib/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST shapelib-1.4.0.tar.gz 548990 BLAKE2B 0e75481d35f8dc5687eee23696d46a780d4b185a81ca1246e5c19f01e58f4a55dc7b69347c9effa01ac1786c5271dfe3907798cc81fe9314979c502bcb9d982d SHA512 206b81fe859a837e821e449ab1b2dbd5a3aa7abd1871da4aec69e130b6fad6300697429884ce359c90e4b76bca90e2108f32b9fdbd3b92013fa5a39f3bedeeb1 |
26 |
DIST shapelib-1.4.1.tar.gz 549831 BLAKE2B e579704bd71c2525133f87628261e78f39e8063cd7e8a57997e90a8ca4a6ebb5de3a4d1ab8da5d00afe1363d9eb22e8c7a9a66ac109c300b72b6d26bd87b61fd SHA512 791c1a0d6c5ff09341176f68349ebd760ae91e8749a9f844299d7ac38a42c4f1131e63479c384a8a8b05a89e90d02e9fd92c526cab417eb80b171d639b4a4422 |
27 |
+DIST shapelib-1.5.0.tar.gz 547686 BLAKE2B 3f962ee701d8cfb86a56aa1c0b2156bc2288a2bc908bb1a8303e491812845241f5281b0b8650befcc53e9dfc408b652a56f5e2fdc5ac7c2ff6eb99170696e437 SHA512 6dbd5fc7929ca403e65017ef58211f351608d9ad08221bf68bde047ceecfd27013ce731f9ae4edcfd040bc3db7fe9054b5d96e46128d2968788bef19532b1721 |
28 |
|
29 |
diff --git a/sci-libs/shapelib/shapelib-1.5.0.ebuild b/sci-libs/shapelib/shapelib-1.5.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..91abc76af14 |
32 |
--- /dev/null |
33 |
+++ b/sci-libs/shapelib/shapelib-1.5.0.ebuild |
34 |
@@ -0,0 +1,36 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit autotools |
41 |
+ |
42 |
+DESCRIPTION="Library for manipulating ESRI Shapefiles" |
43 |
+HOMEPAGE="http://shapelib.maptools.org/" |
44 |
+SRC_URI="http://download.osgeo.org/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2 LGPL-2" |
47 |
+SLOT="0/2" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
49 |
+IUSE="doc static-libs" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ rm -f m4/* || die |
54 |
+ eautoreconf |
55 |
+} |
56 |
+ |
57 |
+src_configure() { |
58 |
+ econf \ |
59 |
+ --includedir="${EPREFIX}"/usr/include/libshp \ |
60 |
+ --prefix="${EPREFIX}"/usr |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ use doc && HTML_DOCS=( web/. ) |
65 |
+ default |
66 |
+ |
67 |
+ if ! use static-libs; then |
68 |
+ find "${ED}" \( -name '*.la' -o -name '*.a' \) -delete || die |
69 |
+ fi |
70 |
+} |