diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-mathematics/bertini | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-mathematics/bertini')
-rw-r--r-- | sci-mathematics/bertini/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/bertini/bertini-1.4.ebuild | 58 | ||||
-rw-r--r-- | sci-mathematics/bertini/metadata.xml | 25 |
3 files changed, 84 insertions, 0 deletions
diff --git a/sci-mathematics/bertini/Manifest b/sci-mathematics/bertini/Manifest new file mode 100644 index 000000000000..6140e74e98d1 --- /dev/null +++ b/sci-mathematics/bertini/Manifest @@ -0,0 +1 @@ +DIST BertiniSource_v1.4.tar.gz 1827401 SHA256 61ce11b2714d1540311c1a8e3192ff92bfbd8fd85c357b554d22ab6cbe67f6a1 SHA512 bb53f8ed24a0f21e95b4e373be36039b69ea0ddb11ad8240bcf52ce64436a56c1f2057a5d733d017fdf68cfb3598a473e1f12b4659308890e2e2575b7d8143f6 WHIRLPOOL f832076f0c2277c35df28d7ed94476e1ec086c5fcb4a80e52fd3cd2d5fce79ecbc66606ba1cb0f71ca0fa6180c0e82e79b5cc85eb5949de64b6c9d8e2e8b7e6a diff --git a/sci-mathematics/bertini/bertini-1.4.ebuild b/sci-mathematics/bertini/bertini-1.4.ebuild new file mode 100644 index 000000000000..b6b7c6504c07 --- /dev/null +++ b/sci-mathematics/bertini/bertini-1.4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +MYP="BertiniSource_v${PV}" + +DESCRIPTION="Software for Numerical Algebraic Geometry" +HOMEPAGE="http://bertini.nd.edu" + +SRC_URI="http://www3.nd.edu/~sommese/bertini/${MYP}.tar.gz" + +LICENSE="bertini" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples +optimization" +DEPEND=" + sys-devel/bison + sys-devel/flex +" +RDEPEND=" + dev-libs/gmp + dev-libs/mpfr +" + +S="${WORKDIR}/${MYP}/src" + +src_prepare() { + if ! use optimization; then + sed -i -e "s/\$(OPT)/ ${CXXFLAGS} ${LDFLAGS}/" Makefile + else + sed -i -e "s/\$(OPT)/ \$(OPT) ${LDFLAGS}/" Makefile + fi + sed -i -e "s/gcc/$(tc-getCC)/" Makefile +} + +src_configure() { + : +} + +src_compile() { + emake +} + +src_install() { + dobin bertini + if use doc; then + dodoc "${WORKDIR}/${MYP}/BertiniUsersManual.pdf" + fi + if use examples; then + insinto "/usr/share/${PN}" + doins -r "${WORKDIR}/${MYP}/examples" + elog "Examples have been installed into /usr/share/${MYP}" + fi +} diff --git a/sci-mathematics/bertini/metadata.xml b/sci-mathematics/bertini/metadata.xml new file mode 100644 index 000000000000..e79bcd17ddc7 --- /dev/null +++ b/sci-mathematics/bertini/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-mathematics</herd> + <maintainer> + <email>tomka@gentoo.org</email> + </maintainer> + <longdescription> +Bertini: Software for Numerical Algebraic Geometry + +Facts in brief: + + Purpose: The numerical solution of systems of polynomial equations + + Approach: Homotopy continuation. + + Authors: Daniel J. Bates, Jonathan D. Hauenstein, Andrew J. Sommese, Charles W. Wampler + + Background: Bertini is a general-purpose solver, written in C, that was + created for research about polynomial continuation. +</longdescription> +<use> + <flag name="optimization">Accept upstream's choices for -O option.</flag> +</use> +</pkgmetadata> |