diff options
author | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2012-09-08 23:32:51 +0300 |
---|---|---|
committer | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2012-09-08 23:32:51 +0300 |
commit | c0158364d182bd54d35ab1046dc3ceee5e6cf71a (patch) | |
tree | b3d2a48e77f5a98e35073b4b37bc61c5af855b48 /sci-physics | |
parent | dev-python/astlib: Version bump (diff) | |
download | sci-c0158364d182bd54d35ab1046dc3ceee5e6cf71a.tar.gz sci-c0158364d182bd54d35ab1046dc3ceee5e6cf71a.tar.bz2 sci-c0158364d182bd54d35ab1046dc3ceee5e6cf71a.zip |
New Ebuild for bug #433060
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/herwig++/ChangeLog | 10 | ||||
-rw-r--r-- | sci-physics/herwig++/Manifest | 1 | ||||
-rw-r--r-- | sci-physics/herwig++/files/herwig++-2.6.0-looptools.patch | 64 | ||||
-rw-r--r-- | sci-physics/herwig++/herwig++-2.6.0.ebuild | 51 | ||||
-rw-r--r-- | sci-physics/herwig++/metadata.xml | 18 |
5 files changed, 144 insertions, 0 deletions
diff --git a/sci-physics/herwig++/ChangeLog b/sci-physics/herwig++/ChangeLog new file mode 100644 index 000000000..fdca55051 --- /dev/null +++ b/sci-physics/herwig++/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-physics/herwig++ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*herwig++-2.6.0 (08 Sep 2012) + + 08 Sep 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> + +herwig++-2.6.0.ebuild, +files/herwig++-2.6.0-looptools.patch, +metadata.xml: + New Ebuild for bug #433060 + diff --git a/sci-physics/herwig++/Manifest b/sci-physics/herwig++/Manifest new file mode 100644 index 000000000..c7953d111 --- /dev/null +++ b/sci-physics/herwig++/Manifest @@ -0,0 +1 @@ +DIST Herwig++-2.6.0.tar.bz2 3045147 SHA256 de1f10749e0fafd300c9024eff1ea7d90930f5ff17272347ecc9708fdf9e2cee SHA512 27a8b8dc68bc449f65ba651bc356d830aebe426e7963fe42a18e453c0893e20da06bf871ff0f44af051357d64ee42d2f62c7dfda71ada20079dd5bae958ca393 WHIRLPOOL 6e33536589e73c7f5ffa8dcd2c02aefce3fe9568f53f24ced543159ad315894eb87d64573dbd5763302ec81a9fef0ca6f5b6d390e701350283f36569b48981b8 diff --git a/sci-physics/herwig++/files/herwig++-2.6.0-looptools.patch b/sci-physics/herwig++/files/herwig++-2.6.0-looptools.patch new file mode 100644 index 000000000..0c802977d --- /dev/null +++ b/sci-physics/herwig++/files/herwig++-2.6.0-looptools.patch @@ -0,0 +1,64 @@ +--- Looptools/Makefile.am ++++ Looptools/Makefile.am +@@ -1,58 +1,12 @@ +-noinst_LTLIBRARIES = libHwLooptoolsXFC.la libHwLooptoolsCFC.la +-noinst_LTLIBRARIES += libHwLooptools.la +- +-EXTRA_DIST = include/lt.h include/ftypes.h include/ff.h include/ffwarn.h \ +- include/fferr.h include/defs.h include/looptools.h include/ffperm5.h \ +- include/clooptools.h include/cexternals.h include/externals.h \ +- util/solve-LU.F util/solve-LU.h util/solve-Eigen.F +- +-theXFCSOURCES = \ +-A/A0.F A/A00.F A/ffxa0.F A/ffca0.F B/Bget.F \ +-B/Bcoeff.F B/BcoeffC.F B/Bcoeffa.F B/Bcoeffb.F B/ffxb0.F \ +-B/ffcb0.F B/ffxb1.F B/ffcb1.F B/ffxb2p.F B/ffcb2p.F \ +-B/ffxdb0.F B/ffcdb0.F B/ffxdb1.F B/ffdel2.F B/ffcel2.F \ +-C/C0.F C/C0C.F C/Cget.F C/ffxc0.F C/ffcc0.F \ +-C/ffxc0i.F C/ffxc0p.F C/ffxc0p0.F C/ffcc0p.F C/ffdxc0.F \ +-C/ffdel3.F C/ffcel3.F D/D0.F D/D0C.F D/Dget.F \ +-D/ffxd0.F D/ffxd0h.F D/ffxd0i.F D/ffxd0p.F D/ffxd0m0.F \ +-D/ffxd0tra.F D/ffxdbd.F D/ffdcc0.F D/ffdel4.F D/ffd0c.F \ +-D/ffTn.F D/ffT13.F D/ffS2.F D/ffS3n.F D/ffRn.F \ +-E/E0.F E/Eget.F E/Ecoeffa.F E/Ecoeffb.F E/ffxe0.F \ +-E/ffdel5.F util/ini.F util/auxCD.F util/solve.F util/Dump.F \ +-util/Li2.F util/ffinit.F util/ffxli2.F util/ffcli2.F util/ffxxyz.F \ +-util/ffcxyz.F util/ffcrr.F util/ffcxr.F util/fftran.F util/ffabcd.F \ +-util/ff2dl2.F util/ffcxs3.F util/ffcxs4.F util/ffdcxs.F util/ffbndc.F +- +-## the following need -DCOMPLEXPARA +-theCFCSOURCES = \ +-A/A0.F A/A00.F B/Bget.F B/Bcoeffa.F C/Cget.F D/Dget.F E/E0.F \ +-E/Eget.F E/Ecoeffa.F E/Ecoeffb.F util/solve.F util/Dump.F util/Li2.F ++noinst_LTLIBRARIES = libHwLooptools.la + + commonCPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/include + +-libHwLooptoolsXFC_la_SOURCES = $(theXFCSOURCES) +-libHwLooptoolsXFC_la_CPPFLAGS = $(commonCPPFLAGS) +-libHwLooptoolsXFC_la_FCFLAGS = $(AM_FCFLAGS) -ffixed-line-length-none +-libHwLooptoolsXFC_la_FFLAGS = $(AM_FFLAGS) -ffixed-line-length-none +- +-libHwLooptoolsCFC_la_SOURCES = $(theCFCSOURCES) +-libHwLooptoolsCFC_la_CPPFLAGS = $(commonCPPFLAGS) -DCOMPLEXPARA +-libHwLooptoolsCFC_la_FCFLAGS = $(AM_FCFLAGS) -ffixed-line-length-none +-libHwLooptoolsCFC_la_FFLAGS = $(AM_FFLAGS) -ffixed-line-length-none +- +-## installed already from "include/Makefile.am" +-## noinst_HEADERS = include/clooptools.h +- +-##if NEED_APPLE_FIXES +-##libHwLooptoolsXFC_la_LDFLAGS = -Wl,-single_module +-##libHwLooptoolsCFC_la_LDFLAGS = -Wl,-single_module +-##endif +- +-libHwLooptools_la_SOURCES = util/cache.c clooptools.cc ++libHwLooptools_la_SOURCES = clooptools.cc + libHwLooptools_la_CXXFLAGS = $(AM_CXXFLAGS) -Wno-strict-aliasing + libHwLooptools_la_CPPFLAGS = $(commonCPPFLAGS) + libHwLooptools_la_CFLAGS = $(AM_CFLAGS) -std=c99 +-libHwLooptools_la_LIBADD = libHwLooptoolsXFC.la libHwLooptoolsCFC.la ++libHwLooptools_la_LIBADD = -looptools + + + ## libHwLooptoolsHelper2_la_SOURCES = clooptools.cc diff --git a/sci-physics/herwig++/herwig++-2.6.0.ebuild b/sci-physics/herwig++/herwig++-2.6.0.ebuild new file mode 100644 index 000000000..9eb5a06c5 --- /dev/null +++ b/sci-physics/herwig++/herwig++-2.6.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit autotools eutils + +MYP=Herwig++-${PV} + +DESCRIPTION="High-Energy Physics event generator" +HOMEPAGE="http://herwig.hepforge.org/" +SRC_URI="http://www.hepforge.org/archive/herwig/${MYP}.tar.bz2" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" +IUSE="fastjet" + +DEPEND="dev-libs/boost + virtual/fortran + sci-libs/gsl + sci-physics/LoopTools + dev-lang/perl + sci-physics/thepeg + fastjet? ( sci-physics/fastjet )" +RDEPEND="" + +S="${WORKDIR}/${MYP}" + +src_prepare() { + epatch "${FILESDIR}/${P}-looptools.patch" + find -name 'Makefile.am' -exec sed -i '1ipkgdatadir=$(datadir)/herwig++' {} \; \ + || die "changing pkgdatadir name failed" + eautoreconf +} + +src_configure() { + econf \ + --disable-silent-rules \ + --with-boost="${EPREFIX}"/usr \ + --with-thepeg="${EPREFIX}"/usr \ + $(use_with fastjet fastjet "${EPREFIX}"/usr) +} + +src_install () { + emake DESTDIR="${D}" install + sed -i "s%${D}%%g" "${D}"/usr/share/herwig++/defaults/PDF.in || die + sed -i "s%${D}%%g" "${D}"/usr/share/herwig++/HerwigDefaults.rpo || die +} diff --git a/sci-physics/herwig++/metadata.xml b/sci-physics/herwig++/metadata.xml new file mode 100644 index 000000000..b5e2e6ce8 --- /dev/null +++ b/sci-physics/herwig++/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>piatlicki@gmail.com</email> +</maintainer> +<longdescription> + Herwig++ is a completely new event generator, written in C++. + It is built on the experience gained with the well-known + event generator HERWIG. The aim is to provide a multi purpose + event generator with similar or improved capabilities (like angular + ordered parton evolution and the cluster hadronization model). +</longdescription> +<use> + <flag name='fastjet'>Adds support for <pkg>sci-physics/fastjet</pkg></flag> +</use> +</pkgmetadata> |