sci-physics/fastjet-contrib: drop 1.049-r1

Closes: https://bugs.gentoo.org/871420
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/35924
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Alexander Puck Neuwirth 2024-03-26 11:00:25 +01:00 committed by Andrew Ammerlaan
parent 5086abf54d
commit 4b09eb80c5
No known key found for this signature in database
GPG Key ID: A2E2304370447E8E
1 changed files with 0 additions and 44 deletions

View File

@ -1,44 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
MY_PN=fjcontrib
MY_P=${MY_PN}-${PV}
DESCRIPTION="3rd party extensions of FastJet."
HOMEPAGE="https://fastjet.hepforge.org/contrib/"
SRC_URI="https://fastjet.hepforge.org/contrib/downloads/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=sci-physics/fastjet-3.4.0"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-soname.patch
"${FILESDIR}"/${P}-ar.patch
)
src_configure() {
tc-export CXX AR RANLIB
./configure --prefix=/usr --fastjet-config=/usr/bin/fastjet-config RANLIB="${RANLIB}" AR="${AR}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" FFLAGS="${FFLAGS}" LDFLAGS="${LDFLAGS}" || die
}
src_compile() {
emake
emake fragile-shared
}
src_install() {
emake install PREFIX="${ED}/usr"
dolib.so libfastjetcontribfragile.so
# The name used for requesting this library varies
dosym libfastjetcontribfragile.so /usr/$(get_libdir)/libfastjetcontribfragile.so.0
dosym libfastjetcontribfragile.so /usr/$(get_libdir)/fastjetcontribfragile.so.0
}