From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/frobby/
Date: Sun, 19 Feb 2017 23:46:01 +0000 (UTC) [thread overview]
Message-ID: <1487547922.7d253bfa5cdd7bac77856a261a543a5ba521cd00.soap@gentoo> (raw)
commit: 7d253bfa5cdd7bac77856a261a543a5ba521cd00
Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Sun Feb 19 11:10:47 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 23:45:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d253bfa
sci-mathematics/frobby: EAPI bump 4 -> 6
Package-Manager: portage-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/4032
sci-mathematics/frobby/frobby-0.9.0-r2.ebuild | 64 +++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/sci-mathematics/frobby/frobby-0.9.0-r2.ebuild b/sci-mathematics/frobby/frobby-0.9.0-r2.ebuild
new file mode 100644
index 0000000000..77e7c9b15a
--- /dev/null
+++ b/sci-mathematics/frobby/frobby-0.9.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Software system and project for computations with monomial ideals"
+HOMEPAGE="http://www.broune.com/frobby/"
+SRC_URI="http://www.broune.com/frobby/frobby_v${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="dev-libs/gmp:0=[cxx]"
+DEPEND="${RDEPEND}
+ doc? ( virtual/latex-base )"
+
+S="${WORKDIR}/frobby_v${PV}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-cflags-no-strip-soname.patch"
+ "${FILESDIR}/${PN}-gcc-4.7.patch"
+ "${FILESDIR}/${PN}-gmp-5.1.patch"
+)
+
+src_prepare() {
+ default
+
+ # CXXFLAGS are called CPPFLAGS
+ sed "s/CPPFLAGS/CXXFLAGS/" -i Makefile || die
+}
+
+src_configure() {
+ default
+ # Makefile uses the value of CXX which may be defined in /etc/env,
+ # breaking cross-compile.
+ tc-export CXX
+}
+
+src_compile() {
+ emake
+ MODE=shared emake library
+ use static-libs && emake library
+ use doc && emake docPdf
+}
+
+src_install() {
+ dobin bin/frobby
+ dolib.so bin/libfrobby.so
+ dosym libfrobby.so "${PREFIX}/usr/$(get_libdir)/libfrobby.so.0"
+ use static-libs && dolib.a bin/libfrobby.a
+
+ insinto /usr/include
+ doins src/frobby.h
+
+ insinto /usr/include/"${PN}"
+ doins src/stdinc.h
+
+ use doc && dodoc bin/manual.pdf
+}
next reply other threads:[~2017-02-19 23:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-19 23:46 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-26 15:59 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/frobby/ David Seifert
2021-06-18 13:15 David Seifert
2018-02-08 0:10 Andreas Sturmlechner
2017-03-11 13:42 Agostino Sarubbo
2017-03-11 13:31 Agostino Sarubbo
2016-03-02 19:29 Markus Meier
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=1487547922.7d253bfa5cdd7bac77856a261a543a5ba521cd00.soap@gentoo \
--to=soap@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