mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
sys-cluster/libi: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
sys-cluster/libi/Manifest
Normal file
1
sys-cluster/libi/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST mrnet-5.0.1_p20180510.tar.gz 809277 BLAKE2B c3465db9977f133994d9d8aa619d50e8bbf03f4d17b04ed4f0bdfdbd185fbf9b3c74f63de458cfebc79493228a9243c08c95333ae30ef2a19c01625c77e94408 SHA512 e190cf0b291a0fdebd7ff8449ea1cf0ef5bbda4c1ec4af8341db18fdcd1407ace428dc2a527d004987dc4171a82b4db2cfa34534695e3ec67c519523058915a2
|
||||
11
sys-cluster/libi/files/libi-create-libdir.patch
Normal file
11
sys-cluster/libi/files/libi-create-libdir.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/conf/Makefile.in
|
||||
+++ b/conf/Makefile.in
|
||||
@@ -92,7 +92,7 @@
|
||||
|
||||
libi-prep:
|
||||
@echo Creating Pre-Install directories ...
|
||||
- for dir in $(OBJDIR) $(DEPDIR) ; do \
|
||||
+ for dir in $(OBJDIR) $(DEPDIR) $(LIBDIR) ; do \
|
||||
if [ ! -d $$dir ] ; then \
|
||||
$(MKDIR_P) $$dir ; \
|
||||
chmod 755 $$dir ; \
|
||||
45
sys-cluster/libi/libi-5.0.1_p20180510.ebuild
Normal file
45
sys-cluster/libi/libi-5.0.1_p20180510.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="7375ba5bb0df87c68e58ad15e9e5e351ae020c08"
|
||||
|
||||
DESCRIPTION="A framework for bootstrapping extreme scale software systems"
|
||||
HOMEPAGE="http://www.paradyn.org/mrnet"
|
||||
SRC_URI="https://github.com/dyninst/mrnet/archive/${COMMIT}.tar.gz -> ${P/libi/mrnet}.tar.gz"
|
||||
S="${WORKDIR}/mrnet-${COMMIT}/external/libi"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="slurm"
|
||||
|
||||
DEPEND="
|
||||
sys-cluster/launchmon
|
||||
sys-cluster/mrnet
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
slurm? ( sys-cluster/slurm )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-create-libdir.patch" )
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-shared
|
||||
--with-launchmon="${EPREFIX}/usr"
|
||||
--with-xplat="${EPREFIX}/usr"
|
||||
)
|
||||
|
||||
use slurm && myconf+=( "--with-libi-startup=slurm" )
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so ../../build/*/lib/liblibi.so
|
||||
insinto /usr/include
|
||||
doins -r include/libi
|
||||
}
|
||||
15
sys-cluster/libi/metadata.xml
Normal file
15
sys-cluster/libi/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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>
|
||||
<use>
|
||||
<flag name="slurm">Use slurm as tree instantiation method instead of ssh</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/dyninst/mrnet/issues</bugs-to>
|
||||
<remote-id type="github">dyninst/mrnet</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user