commit: 24fc9540413bff817fa3c7c7d675c182782f9e6a Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> AuthorDate: Sat Mar 22 22:06:45 2014 +0000 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> CommitDate: Sat Mar 22 22:06:45 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=24fc9540
Initial commit of genfit-ebuild. --- sci-physics/genfit/ChangeLog | 9 ++++++ sci-physics/genfit/genfit-02.00.00.ebuild | 54 +++++++++++++++++++++++++++++++ sci-physics/genfit/metadata.xml | 20 ++++++++++++ 3 files changed, 83 insertions(+) diff --git a/sci-physics/genfit/ChangeLog b/sci-physics/genfit/ChangeLog new file mode 100644 index 0000000..bf38d56 --- /dev/null +++ b/sci-physics/genfit/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-physics/genfit +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*genfit-02.00.00 (22 Mar 2014) + + 22 Mar 2014; <o.freyerm...@googlemail.com> +genfit-02.00.00.ebuild, +metadata.xml: + Initial ebuild. + diff --git a/sci-physics/genfit/genfit-02.00.00.ebuild b/sci-physics/genfit/genfit-02.00.00.ebuild new file mode 100644 index 0000000..1955aa9 --- /dev/null +++ b/sci-physics/genfit/genfit-02.00.00.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit cmake-utils versionator subversion + +ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/tags/v$(replace_all_version_separators '-')" +ESVN_PROJECT="${PN}.${PV}" + +DESCRIPTION="a generic toolkit for track reconstruction for experiments in particle and nuclear physics" +HOMEPAGE="http://genfit.sourceforge.net/Main.html" +SRC_URI="" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +RDEPEND=" + sci-physics/root + dev-libs/boost" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +src_compile() { + cmake-utils_src_compile + if use doc; then + cmake-utils_src_compile doc || die + fi + if use examples; then + cmake-utils_src_compile tests || die + fi +} + +src_install() { + cmake-utils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r "${BUILD_DIR}/bin" + doins "${S}/test/makeGeom.C" + doins "${S}/test/README" + fi + cd doc + use doc && dohtml -r "${S}/doc/html/"* + echo + elog "Note that there is no support in this ebuild for RAVE yet," + elog "which is also not in portage." + elog "It should be possible to use a local installation of RAVE" + elog "and set:" + elog " export RAVEPATH=<yourRaveDirectory>" + echo +} diff --git a/sci-physics/genfit/metadata.xml b/sci-physics/genfit/metadata.xml new file mode 100644 index 0000000..e2510af --- /dev/null +++ b/sci-physics/genfit/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-physics</herd> + <longdescription lang="en"> +GENFIT is an experiment-independent framework for track reconstruction for particle and nuclear physics. It consists of three modular components: +- Track fitting algorithms + Currently, GENFIT contains a Kalman Filter and a Deterministic Annealing Filter. + Other algorithm modules can be added easily. +- Track representations + These modules hold the data of track track parameters and can perform extrapolations of these parameters. + GENFIT is distributed with two well-tested track representations. + Existing track extrapolation codes can be interfaced in a very straightforward way in this framework, using their native geometry and magnetic field interfaces. +- Reconstruction hits + The hit dimensionality and the orientation of planar tracking detectors can be chosen freely. + GENFIT is especially useful for tracking systems which include detectors which do not measure the passage of particles on predefined planes, like TPCs or wire-based drift chambers. The concept of so-called virtual detector planes provides a simple mechanism to use these detector hits in a transparent way without any geometrical simplifications. +GENFIT has been developed in the framework of the PANDA experiment at FAIR, Darmstadt, Germany. +It is also used in the Belle-2, Fopi, and GEM-TPC experiments. + </longdescription> +</pkgmetadata>