Skip to content

Commit

Permalink
sci-libs/mpfun90: add 2024.12.05, 9999
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
  • Loading branch information
APN-Pucky committed Dec 5, 2024
1 parent dc06cc0 commit 6b63cbf
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
1 change: 1 addition & 0 deletions sci-libs/mpfun90/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST 2023-02-26.tar.gz 66883 BLAKE2B 3b93099977b614e0d9a16df76f7f3c1eda9b76905664db3f0dc0ad0bd00b503105649aeb4c960d7293e7d536e3a902dbe8cb62f89be3bce655e9bae963097f35 SHA512 7280ecba6cb95f15cea91ea95f5cf21b69f76a490a3c92bef40cf8a1dfadd651cb93480bddddd684d0f18144db65cdb1590964df11d37a9f35eaeeb94f369d63
DIST 2024-12-05.tar.gz 68057 BLAKE2B 57d5fc979e9265d194802c51b90c5970eec0fcc5797192a80bd9d33fb56b61d9de999464bd8d61cf2afdb44c695a7aec6cd487949ae6b7f4b4a534ca0b0f7262 SHA512 dfb078686b1b79128e9aae3c5f1613a489abee8e760a241ec11d80286145be32edeaa8b7cf1872694d578b2a76a90d56a837f9022baec161f4b6497832b6b644
34 changes: 34 additions & 0 deletions sci-libs/mpfun90/mpfun90-2024.12.05.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2

DESCRIPTION="High-Precision Software"
HOMEPAGE="
https://www.davidhbailey.com/dhbsoftware/
https://github.com/APN-Pucky/mpfun90
"
MY_PV=$(ver_rs 1- '-')
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/APN-Pucky/mpfun90"
else
SRC_URI="https://github.com/APN-Pucky/mpfun90/archive/refs/tags/${MY_PV}.tar.gz"
S="${WORKDIR}/mpfun90-${MY_PV}"
KEYWORDS="~amd64"
fi

LICENSE="DHBBSD"
SLOT="0"

src_compile() {
emake -j1 dynamic
}

src_install() {
doheader *.mod
dolib.so libmpfun90.so
dolib.a libmpfun90.a
}
34 changes: 34 additions & 0 deletions sci-libs/mpfun90/mpfun90-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2

DESCRIPTION="High-Precision Software"
HOMEPAGE="
https://www.davidhbailey.com/dhbsoftware/
https://github.com/APN-Pucky/mpfun90
"
MY_PV=$(ver_rs 1- '-')
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/APN-Pucky/mpfun90"
else
SRC_URI="https://github.com/APN-Pucky/mpfun90/archive/refs/tags/${MY_PV}.tar.gz"
S="${WORKDIR}/mpfun90-${MY_PV}"
KEYWORDS="~amd64"
fi

LICENSE="DHBBSD"
SLOT="0"

src_compile() {
emake -j1 dynamic
}

src_install() {
doheader *.mod
dolib.so libmpfun90.so
dolib.a libmpfun90.a
}

0 comments on commit 6b63cbf

Please sign in to comment.