mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sci-physics/pythia: Remove old
Bug: https://bugs.gentoo.org/770442 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -9,5 +9,4 @@ DIST lutp0613man2.pdf 2902047 BLAKE2B c2f8e8f9031c843933cd927b32921813b580a18117
|
||||
DIST pythia-6.4.18-examples.tar.bz2 36366 BLAKE2B ec655014d3904b66da4a1e748a37c366c2adf9e914b9abf8c38968dcbc09129badcccd2705bc9437c05e73ee4489807835383546f55fbc9cd65399fb507e704e SHA512 ba921379a6df4ca417b60ea5b78af506f13135cdf896fa6beeca9713428ad6f298c94c0fe65fca3e583f8f268dcf84ebe4f1f81b46fd865d5f641f7c1e9fa7e1
|
||||
DIST pythia-6.4.28.tar.xz 490248 BLAKE2B aff9006a4d3a0536d39a5b5161329f058b980554046a57979cc72c80067be96f00b5056dee29fc7f0039ddae074560823427c3a0e24e59f69662f08524fbdcd4 SHA512 f9db72658f2132ce08d31c8a9f7fe727466b184ef41cc4b762fe2bde48dbdfd7b5df19b21a869e20a1f107c96e9daec115c980e11592968eb2cad666b7c96bdc
|
||||
DIST pythia6-20160413.tar.gz 567976 BLAKE2B 92ee81e41db46d49706599ee387a650f67d54a0ea165648de0d09d6cec811c2a4b22903c15cca0abaf5f34cf28333d70315a2c71f4ce0ec0bc48757c20114ae7 SHA512 2a9ea2ae299e8d49bd9750f8c68f0b7f534fb91254c2eebc60ef40828400bdf5e5c4e0956d61807e773a51db873ab4a036c3ac264f904d0bb2b85f4860e538d3
|
||||
DIST pythia6.tar.gz 567451 BLAKE2B c32a67d87fc6f22027d3d9551256af5a0151e494fbae02c5d14ccf08595f1ebf49b638a1c33f7a52214e8bbb510756a72ef0f68f5dc8037e2a6acd3fbf290cfd SHA512 baa18023de22c3e90f14d2a5a39efa171905f507a31a90f87c65dca271b3be4c9f0d1a56282f5a04b3efabe0b5b15c964e4569d1f9994a75750e52e0be4360b1
|
||||
DIST pythia8226.tgz 17639842 BLAKE2B b80d7c10bd5ccc45fbb2db0df0eff679236b9911958f58987517b475e055959aa494a2199f64117631baedd90c8e2753f996e5d64552e39e54859bfe77274dad SHA512 85db807264f99c27dd87ad0572b98f4ac8d37fed818c3dd1ac89f0ac124ae0a5ee13b290727e515cb04269a6e0be8b386d954bed62309f26d1e60b431f952ca0
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools fortran-2 versionator
|
||||
|
||||
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://pythia6.hepforge.org/"
|
||||
|
||||
# pythia6 from root is needed for some files to interface pythia6 with root.
|
||||
# To produce a split version, replace the 6.4.x by the current version:
|
||||
# svn export http://svn.hepforge.org/pythia6/tags/v_6_4_x/ pythia-6.4.x
|
||||
# tar cJf pythia-6.4.x.tar.xz
|
||||
SRC_URI="
|
||||
https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.xz
|
||||
https://root.cern.ch/download/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 )"
|
||||
|
||||
SLOT="6"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
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
|
||||
LT_INIT
|
||||
AC_CHECK_LIB(m,sqrt)
|
||||
AC_CONFIG_FILES(Makefile)
|
||||
AC_OUTPUT
|
||||
EOF
|
||||
echo >> Makefile.am "lib_LTLIBRARIES = libpythia6.la"
|
||||
echo >> Makefile.am "libpythia6_la_SOURCES = \ "
|
||||
# replace wildcard from makefile to ls in shell
|
||||
local f
|
||||
for f in py*.f struct*.f up*.f fh*.f; do
|
||||
echo >> Makefile.am " ${f} \\"
|
||||
done
|
||||
echo >> Makefile.am " ssmssm.f sugra.f visaje.f pdfset.f \\"
|
||||
echo >> Makefile.am " tpythia6_called_from_cc.F pythia6_common_address.c"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc update_notes.txt
|
||||
use doc && dodoc "${DISTDIR}"/lutp${DOC_PV}man2.pdf
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r "${WORKDIR}"/examples
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user