public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dongxu Li" <dongxuli2011@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/fastjet/
Date: Sat, 30 Jul 2011 05:31:27 +0000 (UTC)	[thread overview]
Message-ID: <9c4682a18a0f20fd6e5ad5f730989cfe8d8fd969.dongxuli@gentoo> (raw)

commit:     9c4682a18a0f20fd6e5ad5f730989cfe8d8fd969
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Sat Jul 30 05:30:48 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Sat Jul 30 05:30:48 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9c4682a1

sci-physics/fastjet: new package, #375575

---
 sci-physics/fastjet/fastjet-2.4.4.ebuild |   59 ++++++++++++++++++++++++++++++
 sci-physics/fastjet/metadata.xml         |   24 ++++++++++++
 2 files changed, 83 insertions(+), 0 deletions(-)

diff --git a/sci-physics/fastjet/fastjet-2.4.4.ebuild b/sci-physics/fastjet/fastjet-2.4.4.ebuild
new file mode 100644
index 0000000..f16006d
--- /dev/null
+++ b/sci-physics/fastjet/fastjet-2.4.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="Fast implementation of several longitudinal invariant sequential
+recombination jet algorithms"
+HOMEPAGE="http://www.lpthe.jussieu.fr/~salam/fastjet/"
+SRC_URI="http://www.lpthe.jussieu.fr/~salam/fastjet/repo/${PF}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="+allplugins +allcxxplugins cgal"
+
+DEPEND="cgal? ( sci-mathematics/cgal )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	if use allplugins || use allcxxplugins; then
+		elog
+		elog "Will build all plugins since you have one of allplugins or allcxxplugins set."
+		elog "The following plugins are available:"
+		elog "  - siscone"
+		elog "  - cdfcones"
+		elog "  - pxcone"
+		elog "  - d0runiicone"
+		elog "  - nesteddefs"
+		elog "  - trackjet"
+		elog "  - atlascone"
+		elog "  - cmsiterativecone"
+		elog "  - eecambridge"
+		elog "  - jade"
+		elog
+	fi
+}
+
+src_configure() {
+	econf \
+		$(use_enable allplugins) \
+		$(use_enable allcxxplugins) \
+		$(use_enable cgal) \
+		--enable-siscone \
+		--enable-cdfcones \
+		--enable-pxcone \
+		--enable-d0runiicone \
+		--enable-nesteddefs \
+		--enable-trackjet \
+		--enable-atlascone \
+		--enable-cmsiterativecone \
+		--enable-eecambridge \
+		--enable-jade
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install failed"
+}

diff --git a/sci-physics/fastjet/metadata.xml b/sci-physics/fastjet/metadata.xml
new file mode 100644
index 0000000..a3746e7
--- /dev/null
+++ b/sci-physics/fastjet/metadata.xml
@@ -0,0 +1,24 @@
+<?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">
+		The FastJet package provides a fast implementation of the longitudinally
+		invariant kt longitudinally invariant inclusive Cambridge/Aachen and
+		anti-kt jet finders and a uniform interface to external jet finders
+		(notably SISCone) via a plugin mechanism. It also includes tools for
+		calculating jet areas and performing background (pileup/UE) subtraction.
+	</longdescription>
+	<use>
+  <flag name='allplugins'>
+	  Build all standard plugins.
+  </flag>
+  <flag name='allcxxplugins'>
+	  Build all C++ plugins.
+  </flag>
+  <flag name='cgal'>
+	  Use <pkg>sci-mathematics/cgal</pkg> instead of bundled algorithms.
+  </flag>
+	</use>
+</pkgmetadata>
+



             reply	other threads:[~2011-07-30  5:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-30  5:31 Dongxu Li [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-30  5:40 [gentoo-commits] proj/sci:master commit in: sci-physics/fastjet/ Dongxu Li
2011-07-30  5:48 Dongxu Li
2011-07-30  6:22 Kacper Kowalik
2012-01-08  1:33 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9c4682a18a0f20fd6e5ad5f730989cfe8d8fd969.dongxuli@gentoo \
    --to=dongxuli2011@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox