Files
guru/sys-cluster/synapse/synapse-2.0.1-r1.ebuild
Alessandro Barbieri eb229bfa88 sys-cluster/synapse: remove .la files
Closes: https://bugs.gentoo.org/840716
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-26 12:33:34 +02:00

44 lines
954 B
Bash

# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="synapse"
HOMEPAGE="https://github.com/bsc-performance-tools/synapse"
SRC_URI="https://github.com/bsc-performance-tools/synapse/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/boost:=
sys-cluster/mrnet
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-check-for-shared-mrnet.patch"
"${FILESDIR}/${PN}-respect-destdir.patch"
"${FILESDIR}/${PN}-fix-example-installation.patch"
)
src_prepare() {
sed -e "s|\${prefix}/doc|\${DESTDIR}\${prefix}/share/${PF}/doc|g" -i doc/Makefile.am || die
default
./bootstrap || die
}
src_configure() {
local myconf=(
--with-mrnet="${EPREFIX}/usr"
)
econf "${myconf[@]}"
}
src_install() {
MAKEOPTS="-j1" DESTDIR="${D}" emake install
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}