From 0c5d62cedabb94f483c1295b08e0a440d0e82c94 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 25 Jul 2013 11:08:48 +0200 Subject: An ebuild for deal.II [1] This commit introduces an ebuild for the deal.II library. [1] http://www.dealii.org/ "deal.II is a C++ program library targeted at the computational solution of partial differential equations using adaptive finite elements. It uses state-of-the-art programming techniques to offer you a modern interface to the complex data structures and algorithms required." --- sci-libs/dealii/Manifest | 2 + sci-libs/dealii/dealii-8.0.0.ebuild | 1 + sci-libs/dealii/dealii-9999.ebuild | 118 ++++++++++++++++++++++++++++++++++++ sci-libs/dealii/metadata.xml | 28 +++++++++ 4 files changed, 149 insertions(+) create mode 100644 sci-libs/dealii/Manifest create mode 120000 sci-libs/dealii/dealii-8.0.0.ebuild create mode 100644 sci-libs/dealii/dealii-9999.ebuild create mode 100644 sci-libs/dealii/metadata.xml (limited to 'sci-libs/dealii') diff --git a/sci-libs/dealii/Manifest b/sci-libs/dealii/Manifest new file mode 100644 index 000000000..fd3018c89 --- /dev/null +++ b/sci-libs/dealii/Manifest @@ -0,0 +1,2 @@ +DIST deal.II-8.0.0.tar.gz 15212414 SHA256 2bf7443cb16b5fc39fe6d70b07071d731de9ac415a90658ec4d2197d40513738 SHA512 fb6c79cc7ab18dbb579a2a5dd8144c71f37b36170a9653f805b753fd69ebb66f98c866d7811c5daf24a99cb107ab1f59a7edb18ed9d9597cba566cd04753b3d7 WHIRLPOOL ac63e12431613a59275b39284da1bc6a5cbc52a36c7de2a86845202cbdbccd0d296165f57a3cecba85f2e1ccb4741292ed5770cb2afd0d1c0c4c2f42787a5345 +DIST deal.offlinedoc-8.0.0.tar.gz 90684547 SHA256 7af02e32f691dba950d78f39c227bc22863c5d882cb83665eb639f4aadea9009 SHA512 47b959d976908c5a49d957fcf8a48e53db047e0aa6d8cf2b299f5e91d82c384b48fe326399f5e78146d80ad6ca39b1a305334086730b61d9c5c6975e91641529 WHIRLPOOL 16fa92f65e45a771c1ecafe7bc29b707f38930da9c7b8b423ed933b63ecc5c58f16d25c600c19636c59e9f6b1f8b42e69f485e912ff788de5de67d35cd76ac5c diff --git a/sci-libs/dealii/dealii-8.0.0.ebuild b/sci-libs/dealii/dealii-8.0.0.ebuild new file mode 120000 index 000000000..9860d7b9f --- /dev/null +++ b/sci-libs/dealii/dealii-8.0.0.ebuild @@ -0,0 +1 @@ +dealii-9999.ebuild \ No newline at end of file diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild new file mode 100644 index 000000000..9a4f7c84e --- /dev/null +++ b/sci-libs/dealii/dealii-9999.ebuild @@ -0,0 +1,118 @@ +# Copyright 2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +if [[ ${PV} == "9999" ]] ; then + inherit cmake-utils subversion eutils multilib +else + inherit cmake-utils eutils multilib +fi + +DESCRIPTION="library for solving partial differential equations with the finite element method" +HOMEPAGE="http://www.dealii.org/" + +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="https://svn.dealii.org/trunk/deal.II" + ESVN_OPTIONS="--trust-server-cert --non-interactive" + KEYWORDS="" +else + SRC_URI="https://dealii.googlecode.com/files/deal.II-${PV}.tar.gz + doc? ( https://dealii.googlecode.com/files/deal.offlinedoc-${PV}.tar.gz )" + S="${WORKDIR}/deal.II" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="arpack avx +debug doc +examples hdf5 +lapack mesh_converter metis mpi mumps netcdf p4est parameter_gui petsc sse2 +threads trilinos +umfpack +zlib" +# TODO: add slepc use flag once slepc is packaged for gentoo-science + +DEPEND=" + dev-libs/boost + sys-libs/zlib + arpack? ( sci-libs/arpack[mpi?] ) + doc? ( app-doc/doxygen[dot] dev-lang/perl ) + hdf5? ( sci-libs/hdf5[mpi?] ) + lapack? ( virtual/lapack ) + metis? ( >=sci-libs/parmetis-4[mpi?] ) + mpi? ( virtual/mpi ) + mumps? ( sci-libs/mumps[mpi?] ) + netcdf? ( || ( + + +sci + + tamiko+GENTOO@kyomu.43-1.org + Matthias Maier + + + deal.II is a C++ program library targeted at the computational solution + of partial differential equations using adaptive finite elements. It uses + state-of-the-art programming techniques to offer you a modern interface + to the complex data structures and algorithms required. + + + Adds support for ARPACK (sci-libs/arpack) + Use Advanced Vector Extensions for AVX capable chips + Build an additional debug library with extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see <http://www.gentoo.org/proj/en/qa/backtraces.xml> + Build and install the mesh_converter executable + Add support for metis (sci-libs/metis) + Add support for mumps (sci-libs/mumps) + Add support for p4est (sci-mathematics/p4est) + Build and install the parameter_gui executable + Add support for petsc (sci-libs/petsc) + Add support for trilinos (sci-libs/trilinos) + Add support for umfpack (sci-libs/umfpack) + + -- cgit v1.2.3