dev-libs/cubelib: new package, add 4.7

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-06-08 11:25:25 +02:00
parent 98f274e562
commit bda76e1d6f
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST cubelib-4.7.tar.gz 6163552 BLAKE2B e07e78011501fe19240f22133cf9a9202176ca21410412be19674d43e8177ce7683cb19414eacacf6a56f261602414db55ba65abc8948846c1dbbc0737636fc9 SHA512 cf328b3300170ba832bda13374f7e8e59a920308fc1604f03eb5f172ab6dd6d3ccd0b6517eb68bf58b07a08174dded0f80fe7f37ca63727ce397e095801864f1

View File

@@ -0,0 +1,38 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="General purpose C++ library and tools"
HOMEPAGE="https://www.scalasca.org/scalasca/software/cube-4.x"
SRC_URI="https://apps.fz-juelich.de/scalasca/releases/cube/${PV}/dist/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-cpp/gtest"
src_prepare() {
rm -r vendor/googletest || die
default
eautoreconf
}
src_configure() {
local myconf=(
--disable-platform-mic
)
econf "${myconf[@]}"
}
src_install() {
default
mv "${ED}/usr/share/doc/cubelib/example" "${ED}/usr/share/doc/${PF}/" || die
rm -r "${ED}/usr/share/doc/cubelib" || die
dodoc OPEN_ISSUES README
docompress -x "${ED}/usr/share/doc/${PF}/example"
find "${ED}" -name '*.a' -delete || die
}

View File

@@ -0,0 +1,8 @@
<?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>
</pkgmetadata>