public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/tauola/, sci-physics/tauola/files/
Date: Fri, 13 Dec 2013 15:31:23 +0000 (UTC)	[thread overview]
Message-ID: <1386937688.f194a5bb98593d06f9db8109b4da9ce5b369fe3d.jlec@gentoo> (raw)

commit:     f194a5bb98593d06f9db8109b4da9ce5b369fe3d
Author:     Jauhien Piatlicki <piatlicki <AT> gmail <DOT> com>
AuthorDate: Fri Dec 13 12:28:08 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Dec 13 12:28:08 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f194a5bb

sci-physics/tauola: version bump (1.1.4)

---
 sci-physics/tauola/ChangeLog                       |  6 ++
 .../tauola/files/tauola-1.1.4-makefile.patch       | 12 ++++
 sci-physics/tauola/tauola-1.1.4.ebuild             | 69 ++++++++++++++++++++++
 3 files changed, 87 insertions(+)

diff --git a/sci-physics/tauola/ChangeLog b/sci-physics/tauola/ChangeLog
index dfcbc89..6bc3c4f 100644
--- a/sci-physics/tauola/ChangeLog
+++ b/sci-physics/tauola/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*tauola-1.1.4 (13 Dec 2013)
+
+  13 Dec 2013; Jauhien Piatlicki <piatlicki@gmail.com> +tauola-1.1.4.ebuild,
+  +files/tauola-1.1.4-makefile.patch:
+  version bump
+
 *tauola-9999 (22 Nov 2013)
 *tauola-1.1.3 (22 Nov 2013)
 

diff --git a/sci-physics/tauola/files/tauola-1.1.4-makefile.patch b/sci-physics/tauola/files/tauola-1.1.4-makefile.patch
new file mode 100644
index 0000000..e62d768
--- /dev/null
+++ b/sci-physics/tauola/files/tauola-1.1.4-makefile.patch
@@ -0,0 +1,12 @@
+--- Makefile
++++ Makefile
+@@ -38,8 +38,7 @@
+ 
+ install:
+ 	mkdir -p $(PREFIX)/include
+-	mkdir -p $(PREFIX)/include/Tauola
+-	cp include/Tauola/* $(PREFIX)/include/Tauola/.
++	cp -r include/* $(PREFIX)/include
+ 	mkdir -p $(PREFIX)/lib
+ 	cp lib/* $(PREFIX)/lib/.
+ 

diff --git a/sci-physics/tauola/tauola-1.1.4.ebuild b/sci-physics/tauola/tauola-1.1.4.ebuild
new file mode 100644
index 0000000..5967050
--- /dev/null
+++ b/sci-physics/tauola/tauola-1.1.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+MYPN=TAUOLA
+
+DESCRIPTION="tau decay Monte Carlo generator"
+HOMEPAGE="http://tauolapp.web.cern.ch/tauolapp/"
+SRC_URI="http://tauolapp.web.cern.ch/tauolapp/resources/${MYPN}.${PV}/${MYPN}.${PV}.tar.gz"
+LICENSE="CPC GPL-2+"
+#HepMC interface is licensed under GPL, other code under CPC
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples hepmc tau-spinner"
+
+RDEPEND="hepmc? ( sci-physics/hepmc )
+	tau-spinner? ( sci-physics/lhapdf )
+"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen
+		app-text/ghostscript-gpl
+		app-text/texlive )
+"
+
+S="${WORKDIR}/${MYPN}"
+
+src_prepare() {
+	epatch "${FILESDIR}/${P}-makefile.patch" "${FILESDIR}/${PN}-1.1.3-tau-spinner-makefile.patch"
+}
+
+src_configure() {
+	econf \
+		--without-mc-tester \
+		--without-pythia8 \
+		$(use_with hepmc hepmc "${EPREFIX}/usr") \
+		$(use_with tau-spinner) \
+		$(use_with tau-spinner lhapdf "${EPREFIX}/usr")
+}
+
+src_compile() {
+	emake -j1
+	if use doc;
+	then
+		cd "${S}/documentation/doxy_documentation" || die
+		emake
+		cd "${S}/documentation/latex_documentation" || die
+		emake
+	fi
+}
+
+src_install() {
+	emake PREFIX="${D}/usr" install
+
+	if use doc; then
+		dohtml documentation/doxy_documentation/html/*
+		dodoc documentation/latex_documentation/Tauola_interface_design.pdf
+	fi
+
+	if use examples;
+	then
+		dodoc -r examples
+		use tau-spinner && docinto tau-spinner && dodoc -r TauSpinner/examples
+	fi
+}


             reply	other threads:[~2013-12-13 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 15:31 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-27 12:21 [gentoo-commits] proj/sci:master commit in: sci-physics/tauola/, sci-physics/tauola/files/ Alexander Puck Neuwirth

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=1386937688.f194a5bb98593d06f9db8109b4da9ce5b369fe3d.jlec@gentoo \
    --to=jlec@gentoo.org \
    --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