diff options
| author | Ulrich Müller <ulm@gentoo.org> | 2022-06-03 14:24:43 +0200 |
|---|---|---|
| committer | Ulrich Müller <ulm@gentoo.org> | 2022-06-03 14:24:43 +0200 |
| commit | 2249b564d71300391f5a88461569f8f21408cddb (patch) | |
| tree | bf76b17eeadb0d72f978e66264782831a9a20ebd /dev-lang/cfortran/cfortran-4.4-r4.ebuild | |
| parent | bf10c52db3d90716daf17b903ca539f244d8dbcd (diff) | |
| download | gentoo-2249b564d71300391f5a88461569f8f21408cddb.tar.gz gentoo-2249b564d71300391f5a88461569f8f21408cddb.tar.bz2 gentoo-2249b564d71300391f5a88461569f8f21408cddb.zip | |
dev-lang/cfortran: Bump ebuild for 4.4 to EAPI 8
Keep keywords stable, since -r3 and -r4 produce identical images.
Bug: https://bugs.gentoo.org/817647
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-lang/cfortran/cfortran-4.4-r4.ebuild')
| -rw-r--r-- | dev-lang/cfortran/cfortran-4.4-r4.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-lang/cfortran/cfortran-4.4-r4.ebuild b/dev-lang/cfortran/cfortran-4.4-r4.ebuild new file mode 100644 index 000000000000..d5ccc7687463 --- /dev/null +++ b/dev-lang/cfortran/cfortran-4.4-r4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DEB_PR="14" + +DESCRIPTION="Header file allowing to call Fortran routines from C and C++" +HOMEPAGE="https://www-zeus.desy.de/~burow/cfortran/" +SRC_URI=" + mirror://debian/pool/main/c/${PN}/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/c/${PN}/${PN}_${PV}-${DEB_PR}.diff.gz" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +PATCHES=( "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff ) + +src_unpack() { + default + if use examples; then + tar xvzf "${S}"/cfortran.examples.tar.gz || die + mv eg examples || die + ln -sfn sz1.c examples/sz1/sz1.C || die + ln -sfn pz.c examples/pz/pz.C || die + fi +} + +src_install() { + insinto /usr/include/cfortran + doins cfortran.h + + dosym cfortran/cfortran.h /usr/include/cfortran.h + + dodoc cfortran.doc debian/{NEWS,changelog,copyright} + + docinto html + dodoc cfortran.html index.htm # cfortest.c cfortex.f + + if use examples; then + insinto /usr/share/${PN} + doins -r "${WORKDIR}"/examples + fi +} |
