1 |
commit: d170b295bc553e2e290c228b3fd0aecc6f5b60f6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 23 11:06:06 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 23 11:06:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d170b295 |
7 |
|
8 |
sci-libs/shapelib: Add missing RDEPEND |
9 |
|
10 |
Gentoo-bug: 606884 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
sci-libs/shapelib/shapelib-1.4.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++ |
15 |
1 file changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/sci-libs/shapelib/shapelib-1.4.0-r1.ebuild b/sci-libs/shapelib/shapelib-1.4.0-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000..259db71 |
20 |
--- /dev/null |
21 |
+++ b/sci-libs/shapelib/shapelib-1.4.0-r1.ebuild |
22 |
@@ -0,0 +1,39 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+inherit autotools |
30 |
+ |
31 |
+DESCRIPTION="Library for manipulating ESRI Shapefiles" |
32 |
+HOMEPAGE="http://shapelib.maptools.org/" |
33 |
+SRC_URI="http://download.osgeo.org/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2 LGPL-2" |
36 |
+SLOT="0/2" |
37 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
38 |
+IUSE="doc static-libs" |
39 |
+ |
40 |
+RDEPEND="sci-libs/proj" |
41 |
+DEPEND="${RDEPEND}" |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ default |
45 |
+ rm -r m4/* || die |
46 |
+ eautoreconf |
47 |
+} |
48 |
+ |
49 |
+src_configure() { |
50 |
+ econf \ |
51 |
+ --includedir=/usr/include/libshp |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ use doc && HTML_DOCS=( web/. ) |
56 |
+ default |
57 |
+ |
58 |
+ if ! use static-libs; then |
59 |
+ find "${D}" \( -name '*.la' -o -name '*.a' \) -delete || die |
60 |
+ fi |
61 |
+} |