diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-21 05:40:09 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-21 05:40:09 +0000 |
commit | 6fbccfdfbce3b245bf6b57a8cefdcbfd72abeed3 (patch) | |
tree | a4fa45c61f9f76ffee16fdab2ec2860b34904d93 /sci-physics/pythia | |
parent | Version bump (diff) | |
download | gentoo-2-6fbccfdfbce3b245bf6b57a8cefdcbfd72abeed3.tar.gz gentoo-2-6fbccfdfbce3b245bf6b57a8cefdcbfd72abeed3.tar.bz2 gentoo-2-6fbccfdfbce3b245bf6b57a8cefdcbfd72abeed3.zip |
re-add pythia-6.4.19.ebuild inadvertently removed
(Portage version: 2.2_rc41/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'sci-physics/pythia')
-rw-r--r-- | sci-physics/pythia/ChangeLog | 6 | ||||
-rw-r--r-- | sci-physics/pythia/pythia-6.4.19.ebuild | 66 |
2 files changed, 71 insertions, 1 deletions
diff --git a/sci-physics/pythia/ChangeLog b/sci-physics/pythia/ChangeLog index 00b726e14d99..2dd6be4421ad 100644 --- a/sci-physics/pythia/ChangeLog +++ b/sci-physics/pythia/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-physics/pythia # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.14 2009/09/19 00:46:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/ChangeLog,v 1.15 2009/09/21 05:40:09 bicatali Exp $ + + 21 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> + +pythia-6.4.19.ebuild: + re-add pythia-6.4.19.ebuild inadvertently removed 19 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> -pythia-6.4.19.ebuild, pythia-6.4.21.ebuild: diff --git a/sci-physics/pythia/pythia-6.4.19.ebuild b/sci-physics/pythia/pythia-6.4.19.ebuild new file mode 100644 index 000000000000..d811dcfbffa5 --- /dev/null +++ b/sci-physics/pythia/pythia-6.4.19.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/pythia/pythia-6.4.19.ebuild,v 1.6 2009/09/21 05:40:09 bicatali Exp $ + +EAPI=2 +inherit fortran versionator autotools + +MV=$(get_major_version) +MY_PN=${PN}${MV} +DOC_PV=0613 +EX_PV=6.4.18 + +DESCRIPTION="Lund Monte Carlo high-energy physics event generator" +HOMEPAGE="http://projects.hepforge.org/pythia6/" + +# pythia6 from root is needed for some files to interface pythia6 with root. +# To produce a split version on mirror do: +# svn export http://svn.hepforge.org/pythia6/tags/v_6_4_19/ pythia-6.4.19 +# tar cjf pythia-6.4.19.tar.bz2 +SRC_URI="mirror://gentoo/${P}.tar.bz2 + ftp://root.cern.ch/root/pythia6.tar.gz + doc? ( http://home.thep.lu.se/~torbjorn/pythia/lutp${DOC_PV}man2.pdf ) + examples? ( mirror://gentoo/${PN}-${EX_PV}-examples.tar.bz2 )" + +LICENSE="public-domain" +SLOT="6" +KEYWORDS="amd64 ~hppa sparc x86" +IUSE="doc examples" +DEPEND="" + +FORTRAN="gfortran ifc g77" + +src_prepare() { + cp ../pythia6/tpythia6_called_from_cc.F . + cp ../pythia6/pythia6_common_address.c . + cat > configure.ac <<-EOF + AC_INIT(${PN},${PV}) + AM_INIT_AUTOMAKE + AC_PROG_F77 + AC_PROG_LIBTOOL + AC_CHECK_LIB(m,sqrt) + AC_CONFIG_FILES(Makefile) + AC_OUTPUT + EOF + echo "lib_LTLIBRARIES = libpythia6.la" > Makefile.am + echo "libpythia6_la_SOURCES = \ " >> Makefile.am + # replace wildcard from makefile to ls in shell + for f in py*.f struct*.f up*.f fh*.f; do + echo " ${f} \\" >> Makefile.am + done + echo " ssmssm.f sugra.f visaje.f pdfset.f \\" >> Makefile.am + echo " tpythia6_called_from_cc.F pythia6_common_address.c" >> Makefile.am + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc update_notes.txt README + insinto /usr/share/doc/${PF}/ + if use doc; then + doins "${DISTDIR}"/lutp${DOC_PV}man2.pdf || die + fi + if use examples; then + doins -r "${WORKDIR}"/examples || die + fi +} |