From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3C5F139695 for ; Sun, 19 Feb 2017 23:46:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEC8021C08B; Sun, 19 Feb 2017 23:46:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8DDC21C08B for ; Sun, 19 Feb 2017 23:46:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D01CF340C9D for ; Sun, 19 Feb 2017 23:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EED924DD0 for ; Sun, 19 Feb 2017 23:46:01 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1487547922.7d253bfa5cdd7bac77856a261a543a5ba521cd00.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/frobby/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/frobby/frobby-0.9.0-r2.ebuild X-VCS-Directories: sci-mathematics/frobby/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 7d253bfa5cdd7bac77856a261a543a5ba521cd00 X-VCS-Branch: master Date: Sun, 19 Feb 2017 23:46:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2d65b98a-dbf2-470b-afc9-6a6712845762 X-Archives-Hash: 13cdbe62adb3eb989700d4299b7d79c6 commit: 7d253bfa5cdd7bac77856a261a543a5ba521cd00 Author: Gerhard Bräunlich gmx net> AuthorDate: Sun Feb 19 11:10:47 2017 +0000 Commit: David Seifert gentoo 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 +}