sci-physics/hoppet - 1.2.0 (science)

Search

Package Information

Description:
Higher Order Perturbative Parton Evolution Toolkit
Homepage:
https://hoppet.hepforge.org/ https://github.com/gavinsalam/hoppet
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.2.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2

DESCRIPTION="Higher Order Perturbative Parton Evolution Toolkit"
HOMEPAGE="
	https://hoppet.hepforge.org/
	https://github.com/gavinsalam/hoppet
"
SRC_URI="https://hoppet.hepforge.org/downloads/${P}.tgz"

SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64"


src_configure() {
	default
	# own custom configure
	./configure --prefix="${EPREFIX}"/usr FFLAGS="${FFLAGS} -fPIC" || die
}

src_install() {
	# Fix install to ED
	sed -i "s#scripts/install-sh hoppet-config#\##g" Makefile || die
	sed -i "s#/usr/lib/libhoppet#${ED}/usr/$(get_libdir)/libhoppet#g" src/Makefile || die
	sed -i "s#/usr/include/hoppet#${ED}/usr/include/hoppet#g" src/Makefile || die
	emake install
	emake install-mod
	dobin hoppet-config
	find "${ED}" -name '*.la' -delete || die
}

Manifest for 1.2.0

Type File Size Source URLs
DIST hoppet-1.2.0.tgz 575911 bytes https://hoppet.hepforge.org/downloads/hoppet-1.2.0.tgz