From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 09BA213827E for ; Fri, 13 Dec 2013 15:31:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A1D3E0AA8; Fri, 13 Dec 2013 15:31:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 981A8E0AA8 for ; Fri, 13 Dec 2013 15:31:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71F8A33F467 for ; Fri, 13 Dec 2013 15:31:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2C89EE5763 for ; Fri, 13 Dec 2013 15:31:23 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1386937688.f194a5bb98593d06f9db8109b4da9ce5b369fe3d.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/tauola/, sci-physics/tauola/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/tauola/ChangeLog sci-physics/tauola/files/tauola-1.1.4-makefile.patch sci-physics/tauola/tauola-1.1.4.ebuild X-VCS-Directories: sci-physics/tauola/ sci-physics/tauola/files/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: f194a5bb98593d06f9db8109b4da9ce5b369fe3d X-VCS-Branch: master Date: Fri, 13 Dec 2013 15:31:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 55135102-0db5-4e90-a206-777ade5445a4 X-Archives-Hash: 6d5218a09b6327ee89d60d8048e76a4c commit: f194a5bb98593d06f9db8109b4da9ce5b369fe3d Author: Jauhien Piatlicki gmail com> AuthorDate: Fri Dec 13 12:28:08 2013 +0000 Commit: Justin Lecher gentoo 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 +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 +}