mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
sys-cluster/TCL: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
sys-cluster/TCL/Manifest
Normal file
1
sys-cluster/TCL/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST TCL-1.0.tar.gz 26572 BLAKE2B d36d7f1f406b141358e803b00c0f8abb6eede322e69cae9d99f3e5e8edeba40035cb88549d72e0d6f53048fb29c5ed8dc942286660f50da9e7f6f13a3a266902 SHA512 abc3eea6926501431295af3e88a870ef0da29301a34b71a4c00fcc22fe4e132a6377aeae45281254f9f5e3a99124f595e2e371ee7fc058c4830e58d4077a9793
|
||||
70
sys-cluster/TCL/TCL-1.0.ebuild
Normal file
70
sys-cluster/TCL/TCL-1.0.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Transparent Checkpointing Library"
|
||||
HOMEPAGE="https://github.com/bsc-pm/TCL"
|
||||
SRC_URI="https://github.com/bsc-pm/TCL/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
#S="${WORKDIR}/${PN}-version-${PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug fti instrumentation scr veloc"
|
||||
|
||||
RDEPEND="
|
||||
virtual/mpi
|
||||
|
||||
fti? ( sys-cluster/fti )
|
||||
scr? ( sys-cluster/scr )
|
||||
veloc? ( sys-cluster/veloc )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="|| ( fti scr veloc )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--disable-static
|
||||
--enable-shared
|
||||
--includedir="${EPREFIX}/usr/include/TCL"
|
||||
--with-mpi="${EPREFIX}/usr"
|
||||
|
||||
$(use_enable debug)
|
||||
$(use_enable instrumentation)
|
||||
)
|
||||
|
||||
if use fti; then
|
||||
myconf+=( "--with-fti=${EPREFIX}/usr" )
|
||||
else
|
||||
myconf+=( "--without-fti" )
|
||||
fi
|
||||
if use instrumentation; then
|
||||
myconf+=( $(use_enable instrumentation-debug debug) )
|
||||
fi
|
||||
if use scr; then
|
||||
myconf+=( "--with-scr=${EPREFIX}/usr" )
|
||||
else
|
||||
myconf+=( "--without-scr" )
|
||||
fi
|
||||
if use veloc; then
|
||||
myconf+=( "--with-veloc=${EPREFIX}/usr" )
|
||||
else
|
||||
myconf+=( "--without-veloc" )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc NEWS AUTHORS INSTALL
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
18
sys-cluster/TCL/metadata.xml
Normal file
18
sys-cluster/TCL/metadata.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/bsc-pm/TCL/issues</bugs-to>
|
||||
<remote-id type="github">bsc-pm/TCL</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="fti">Enable <pkg>sys-cluster/fti</pkg> backend</flag>
|
||||
<flag name="instrumentation">Build the instrumentation version</flag>
|
||||
<flag name="scr">Enable <pkg>sys-cluster/scr</pkg> backend</flag>
|
||||
<flag name="veloc">Enable <pkg>sys-cluster/veloc</pkg> backend</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user