From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ogdi/
Date: Sun, 29 Dec 2019 00:20:29 +0000 (UTC) [thread overview]
Message-ID: <1577578803.0452eff68c3a95f0e22a604ced402b9bacafc3e6.asturm@gentoo> (raw)
commit: 0452eff68c3a95f0e22a604ced402b9bacafc3e6
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 23:49:16 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 00:20:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0452eff6
sci-libs/ogdi: Restrict to <PROJ-6, EAPI-7 bump
Closes: https://bugs.gentoo.org/686086
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-libs/ogdi/ogdi-3.2.0-r1.ebuild | 78 ++++++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
diff --git a/sci-libs/ogdi/ogdi-3.2.0-r1.ebuild b/sci-libs/ogdi/ogdi-3.2.0-r1.ebuild
new file mode 100644
index 00000000000..7de1803045b
--- /dev/null
+++ b/sci-libs/ogdi/ogdi-3.2.0-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P=${P/_/.}
+inherit toolchain-funcs
+
+DESCRIPTION="Open Geographical Datastore Interface, a GIS support library"
+HOMEPAGE="http://ogdi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ogdi/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+DEPEND="
+ net-libs/libtirpc
+ dev-libs/expat
+ >=sci-libs/proj-4.9.0:=
+ <sci-libs/proj-6.0.0:=
+ sys-libs/zlib
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( ChangeLog NEWS README )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.2.0_beta2-subdirs.patch
+ "${FILESDIR}"/${P}-acinclude.patch
+ "${FILESDIR}"/${P}-aclocal.patch
+ "${FILESDIR}"/${P}-endianess.patch
+ "${FILESDIR}"/${P}-fpic.patch
+ "${FILESDIR}"/${P}-ldflags.patch
+ "${FILESDIR}"/${P}-optimisation.patch
+ "${FILESDIR}"/${P}-rpc.patch
+ "${FILESDIR}"/${P}-tcl.patch
+)
+
+src_prepare() {
+ default
+ rm -r external || die
+ sed 's:O2:O9:g' -i configure || die
+}
+
+src_configure() {
+ export TOPDIR="${S}"
+ export TARGET=$(uname)
+ export CFG="release"
+ export LD_LIBRARY_PATH=$TOPDIR/bin/${TARGET}
+
+ econf \
+ --with-projlib="-L${EPREFIX}/usr/$(get_libdir) -lproj" \
+ --with-expat \
+ --with-zlib
+}
+
+src_compile() {
+ # bug #299239
+ emake -j1 \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ SHLIB_LD="$(tc-getCC)"
+}
+
+src_install() {
+ mv "${S}"/bin/${TARGET}/*.so* "${S}"/lib/Linux/. || die "lib move failed"
+ dobin "${S}"/bin/${TARGET}/*
+ insinto /usr/include
+ doins ogdi/include/ecs.h ogdi/include/ecs_util.h
+ dolib.so lib/${TARGET}/lib*
+ use static-libs && dolib.a lib/${TARGET}/static/*.a
+# dosym libogdi31.so /usr/$(get_libdir)/libogdi.so
+ einstalldocs
+}
next reply other threads:[~2019-12-29 0:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-29 0:20 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-08 18:50 [gentoo-commits] repo/gentoo:master commit in: sci-libs/ogdi/ Andrew Ammerlaan
2022-06-30 19:06 Sam James
2021-08-14 23:15 Marek Szuba
2020-04-13 16:53 Agostino Sarubbo
2020-04-12 7:30 Agostino Sarubbo
2020-04-11 16:10 Agostino Sarubbo
2020-04-11 16:00 Agostino Sarubbo
2020-04-10 19:55 Mart Raudsepp
2019-12-29 0:20 Andreas Sturmlechner
2019-05-16 19:30 Aaron Bauman
2018-06-03 2:59 Aaron Bauman
2018-05-20 11:13 Mikle Kolyada
2018-04-26 5:17 Matt Turner
2018-04-15 18:58 Thomas Deutschmann
2018-04-15 18:40 Sergei Trofimovich
2018-04-14 17:37 Aaron Bauman
2017-07-20 20:57 Sergei Trofimovich
2017-07-17 9:48 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1577578803.0452eff68c3a95f0e22a604ced402b9bacafc3e6.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox