From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D65F8138A1A for ; Thu, 22 Jan 2015 00:09:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A4C0E08F6; Thu, 22 Jan 2015 00:09:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47713E087D for ; Thu, 22 Jan 2015 00:09:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F167D3406F7 for ; Thu, 22 Jan 2015 00:09:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A981D10173 for ; Thu, 22 Jan 2015 00:09:39 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1421498244.c6eb39ae487c5ba48e633e087af589c2a952747a.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/factory/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/factory/ChangeLog sci-libs/factory/factory-3.1.1-r2.ebuild X-VCS-Directories: sci-libs/factory/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: c6eb39ae487c5ba48e633e087af589c2a952747a X-VCS-Branch: master Date: Thu, 22 Jan 2015 00:09:39 +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: 30eed83b-237a-4caa-b9ae-235eadc2453e X-Archives-Hash: ad56a8a15a423a3652f7c7787abb93f5 commit: c6eb39ae487c5ba48e633e087af589c2a952747a Author: Marius Brehler linux sungazer de> AuthorDate: Sat Jan 17 12:37:24 2015 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Sat Jan 17 12:37:24 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c6eb39ae Add sci-libs/factory-3.1.1-r2 with support for static-libs use flag --- sci-libs/factory/ChangeLog | 9 +++++- sci-libs/factory/factory-3.1.1-r2.ebuild | 47 ++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/sci-libs/factory/ChangeLog b/sci-libs/factory/ChangeLog index f8ef985..523d745 100644 --- a/sci-libs/factory/ChangeLog +++ b/sci-libs/factory/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for sci-libs/factory -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*factory-3.1.1-r2 (17 Jan 2015) + + 17 Jan 2015; Marius Brehler + -factory-3.1.1.ebuild, factory-3.1.1-r1.ebuild, +factory-3.1.1-r2.ebuild: + Add 3.1.1-r2 with support for static-libs use flag; + Move 3.1.1-r1 to EAPI=5 and drop 3.1.1 + *factory-3.1.1-r1 (04 Sep 2010) 04 Sep 2010; François Bissey diff --git a/sci-libs/factory/factory-3.1.1-r2.ebuild b/sci-libs/factory/factory-3.1.1-r2.ebuild new file mode 100644 index 0000000..a549a75 --- /dev/null +++ b/sci-libs/factory/factory-3.1.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit autotools-utils versionator + +MY_PV=$(replace_all_version_separators '-') + +DESCRIPTION="C++ library for representing multivariate polynomials" +HOMEPAGE="http://www.mathematik.uni-kl.de/pub/Math/Singular/Factory" +SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="singular static-libs" + +DEPEND="dev-libs/gmp + >=dev-libs/ntl-5.4.1" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +AUTOTOOLS_IN_SOURCE_BUILD="1" +DOCS=( README NEWS ) +PATCHES=( "${FILESDIR}"/${P}-gentoo.diff ) + +pkg_setup() { + tc-export CC CPP CXX +} + +src_configure() { + myeconfargs=( $(use_with singular Singular) ) + + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + # We cannot disable the build of static libs, so delete after installed to ${D} + if ! use static-libs; then + find "${D}" -type f -name "*.a" -delete || die + fi +}