mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-libs/med: package migration from ::science overlay
* version bump * new upsteam website and repo * EAPI=7 * fixup installation Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
1
sci-libs/med/Manifest
Normal file
1
sci-libs/med/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST med-4.0.0.tar.gz 47849098 BLAKE2B 0bc6710f7b5156e09962e3125349573989429e614a203f649843f00dea06217040ebee70e481eed9c0dd304cb7d167efcd216c3600f6954a74f262cc845fff63 SHA512 2840437010481fc5f12a56e3282f8ca5e94df541899e2b511756702f86d0f87dbf2f6e086d8e591e2bd370d8f4bab8089e7f7f939fea16354a23e2b5a4d96cd7
|
||||
48
sci-libs/med/med-4.0.0.ebuild
Normal file
48
sci-libs/med/med-4.0.0.ebuild
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Modeling and Exchange of Data library"
|
||||
HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
|
||||
SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mpi"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=sci-libs/hdf5-1.10.5[mpi=]
|
||||
mpi? ( virtual/mpi )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
append-cppflags -DH5_USE_16_API
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--docdir="/usr/share/doc/${PF}"
|
||||
--disable-python
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/$(get_libdir)/libmed3.settings \
|
||||
"${ED}"/usr/share/doc/${PF}/ || die "mv failed"
|
||||
|
||||
rm -rf "${ED}"/usr/include/2.3.6 || die "rm failed"
|
||||
}
|
||||
12
sci-libs/med/metadata.xml
Normal file
12
sci-libs/med/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tamiko@gentoo.org</email>
|
||||
<name>Matthias Maier</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user