1 |
commit: 371ce54e28866752778d51471caabcd868c57172 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 28 23:49:54 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 29 00:20:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=371ce54e |
7 |
|
8 |
sci-libs/ogdi: Drop 3.2.0 (r0) |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sci-libs/ogdi/ogdi-3.2.0.ebuild | 74 ----------------------------------------- |
14 |
1 file changed, 74 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/ogdi/ogdi-3.2.0.ebuild b/sci-libs/ogdi/ogdi-3.2.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index 7f42ae15c1e..00000000000 |
19 |
--- a/sci-libs/ogdi/ogdi-3.2.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,74 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-MY_P=${P/_/.} |
28 |
-inherit eutils toolchain-funcs |
29 |
- |
30 |
-DESCRIPTION="Open Geographical Datastore Interface, a GIS support library" |
31 |
-HOMEPAGE="http://ogdi.sourceforge.net/" |
32 |
-SRC_URI="mirror://sourceforge/ogdi/${MY_P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux" |
37 |
-IUSE="static-libs" |
38 |
- |
39 |
-DEPEND=" |
40 |
- net-libs/libtirpc |
41 |
- dev-libs/expat |
42 |
- >=sci-libs/proj-4.9.0 |
43 |
- sys-libs/zlib |
44 |
-" |
45 |
-RDEPEND="${DEPEND}" |
46 |
- |
47 |
-S=${WORKDIR}/${MY_P} |
48 |
- |
49 |
-PATCHES=( |
50 |
- "${FILESDIR}"/${PN}-3.2.0_beta2-subdirs.patch |
51 |
- "${FILESDIR}"/${P}-acinclude.patch |
52 |
- "${FILESDIR}"/${P}-aclocal.patch |
53 |
- "${FILESDIR}"/${P}-endianess.patch |
54 |
- "${FILESDIR}"/${P}-fpic.patch |
55 |
- "${FILESDIR}"/${P}-ldflags.patch |
56 |
- "${FILESDIR}"/${P}-optimisation.patch |
57 |
- "${FILESDIR}"/${P}-rpc.patch |
58 |
- "${FILESDIR}"/${P}-tcl.patch |
59 |
-) |
60 |
- |
61 |
-src_prepare() { |
62 |
- default |
63 |
- rm -rf external |
64 |
- sed 's:O2:O9:g' -i configure || die |
65 |
-} |
66 |
- |
67 |
-src_configure() { |
68 |
- export TOPDIR="${S}" |
69 |
- export TARGET=$(uname) |
70 |
- export CFG="release" |
71 |
- export LD_LIBRARY_PATH=$TOPDIR/bin/${TARGET} |
72 |
- |
73 |
- econf \ |
74 |
- --with-projlib="-L${EPREFIX}/usr/$(get_libdir) -lproj" \ |
75 |
- --with-zlib --with-expat |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- # bug #299239 |
80 |
- emake -j1 \ |
81 |
- CC="$(tc-getCC)" \ |
82 |
- LD="$(tc-getCC)" \ |
83 |
- SHLIB_LD="$(tc-getCC)" |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- mv "${S}"/bin/${TARGET}/*.so* "${S}"/lib/Linux/. || die "lib move failed" |
88 |
- dobin "${S}"/bin/${TARGET}/* |
89 |
- insinto /usr/include |
90 |
- doins ogdi/include/ecs.h ogdi/include/ecs_util.h |
91 |
- dolib.so lib/${TARGET}/lib* |
92 |
- use static-libs && dolib.a lib/${TARGET}/static/*.a |
93 |
-# dosym libogdi31.so /usr/$(get_libdir)/libogdi.so |
94 |
- dodoc ChangeLog NEWS README |
95 |
-} |