summaryrefslogtreecommitdiff
path: root/dev-lang/cfortran
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lang/cfortran
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/cfortran')
-rw-r--r--dev-lang/cfortran/Manifest7
-rw-r--r--dev-lang/cfortran/cfortran-4.4-r2.ebuild37
-rw-r--r--dev-lang/cfortran/cfortran-4.4-r3.ebuild49
-rw-r--r--dev-lang/cfortran/metadata.xml14
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-lang/cfortran/Manifest b/dev-lang/cfortran/Manifest
new file mode 100644
index 000000000000..d063f6755a04
--- /dev/null
+++ b/dev-lang/cfortran/Manifest
@@ -0,0 +1,7 @@
+DIST cfortran_4.4-14.diff.gz 23084 SHA256 b49fe76e90f4f7c37e9b9709f4efdc4eee44e781d4c1f3842eed24fac0633daa SHA512 1e0b267efc17c2ba30ca1108d59ef87d1a401e6b88bea2c7045458f8cfad6ec9a05f6bf4a08c1d6cb314c790a4969a1f0fdf0c7b6abc28bae544928aad5b0218 WHIRLPOOL 5e07597d527303c1c15d155ac259f41a4d49e3b3285cc581b044ab5a52d05f8228309eea0a27b7e1a40b255fe3330dea4bf6ab4c1ab3453998ac6500ad17e727
+DIST cfortran_4.4.orig.tar.gz 120119 SHA256 ac7182f01afd3cc14b2525850509109598683eeb1e066c4a1f18661fb0d3d926 SHA512 969d0db566ecd7ed7945cac7f8ceea1cbd94ab427734ba83882acf97022c83b1417e32515d847fee89144137f58f7041cf5164fc397f3d7526f3aa958f8b038c WHIRLPOOL a5544fb9c23b5042d7dd2b52a516115b74e12bc54751f2cd6448eecd4f70cd86854ee4b7bac1248d312155e8be9d756e06d0d4a5bbed4162509a1b2b448330de
+EBUILD cfortran-4.4-r2.ebuild 1068 SHA256 a3e3881acb212f3a768cea13c697c118793ec198be893a8fd540124643271425 SHA512 9c21bd9bac59682cefbe4c25acf7c6bc3c4cbb1f080068e0316275ae580309b3907cc1728f5a6cd51e46e00c12711a259778f1a90395077620a46bef65b5e543 WHIRLPOOL 7521c337f9136f06a20ff6c9239df9921cb74c51f84be6d37141ae76f19d9077aa691466dfa2389faca983f8e48394ef201cca1b493917cd9f7557a074286340
+EBUILD cfortran-4.4-r3.ebuild 1147 SHA256 a9a8bb966ec2e7bbe02b5002e0a31f5f5d77f7e80872530bac3ea4f24cdbccfc SHA512 c4b31b1ceb392f8d4e45710684969f6560480b509a616c87822d7d5a6e4e8f0b332f68c31bb5368234e588915458c7d55032931944b27cc81f5e4cb6f05b849d WHIRLPOOL 6b5b480aa91cdabb64dc4769ead6f6dc4e92ad51ca0fddd96f756a4682b66c8900eceb785c938d5251160a1356695fb0e64cead7c12bec1780054d9b3d868b52
+MISC ChangeLog 2488 SHA256 c1b9d91ec3fcdff53c6ce3f1415b8e87b5ed3510ba9eb99e037cc1b8235bf0c3 SHA512 ba58c9224794587ad1fcbab20243e8bec31fd16c0dfad5349ada2983ab30fe26d3693538f6855ae29a4a47130fd47b6addd1212da63ab83592b020a6549dc515 WHIRLPOOL 4d9ec110227f3de0a455e981a56e0f5a246763d67a23a94eedfe6b2060ae96606317175d8abb45c1d03a5479b28e264a0259c525398af4920bc985544abf0f68
+MISC ChangeLog-2015 3234 SHA256 910abb5b8daca41ffd85fa538300a78f90e68d45b3b1ace17206e8b544af572e SHA512 99984082a9ef9d616e11bf627d141baf1a621c262bb367c7c37507578d334f7f233224233fb71638e7d4c5e0cf89e5c44e5e1ac19c83e6da7d29647718218a2b WHIRLPOOL 2a335e8aec337c59d29facb35bd2d27bc91d589b96c69c5e2c162cc707b93411fcbd0bd94758eeba090dfbd8aabb0ce54aecaac2fe8a7289c9fb456a23e786fa
+MISC metadata.xml 588 SHA256 78832948e1f52990505b9a890306c1a3da836bf6924543a88a364dd8ecda1583 SHA512 4cc9d7ec3c44afc7e8ca2b43c04ea67c88fa1be09f9c594d83d1d011823566efd4e6b889fc4e95b019885be4223de32d94e0126acf70fe5e7cabf753a9923d40 WHIRLPOOL 537ba39899ad3371d0acd650d1f0fac2828242d3589f2d9362e31b88a3851812f0e53331e23111cb170a367226626075a96e0924b38f9fc45ec789e79d8d71e3
diff --git a/dev-lang/cfortran/cfortran-4.4-r2.ebuild b/dev-lang/cfortran/cfortran-4.4-r2.ebuild
new file mode 100644
index 000000000000..c8173a9785e7
--- /dev/null
+++ b/dev-lang/cfortran/cfortran-4.4-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils
+
+DEB_PR="14"
+
+DESCRIPTION="Header file allowing to call Fortran routines from C and C++"
+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"
+HOMEPAGE="http://www-zeus.desy.de/~burow/cfortran/"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
+LICENSE="LGPL-2"
+IUSE="examples"
+SLOT="0"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff
+ if use examples; then
+ tar xfz cfortran.examples.tar.gz
+ mv eg examples
+ ln -sfn sz1.c examples/sz1/sz1.C
+ ln -sfn pz.c examples/pz/pz.C
+ fi
+}
+
+src_install() {
+ insinto /usr/include/cfortran
+ doins cfortran.h || die
+ dosym cfortran/cfortran.h /usr/include/cfortran.h || die
+ dodoc cfortran.doc debian/{NEWS,changelog,copyright}
+ insinto /usr/share/doc/${PF}
+ doins cfortran.html index.htm cfortest.c cfortex.f
+ use examples && doins -r examples
+}
diff --git a/dev-lang/cfortran/cfortran-4.4-r3.ebuild b/dev-lang/cfortran/cfortran-4.4-r3.ebuild
new file mode 100644
index 000000000000..85738d919546
--- /dev/null
+++ b/dev-lang/cfortran/cfortran-4.4-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DEB_PR="14"
+
+DESCRIPTION="Header file allowing to call Fortran routines from C and C++"
+HOMEPAGE="http://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 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="examples"
+
+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_prepare() {
+ epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff
+}
+
+src_install() {
+ insinto /usr/include/cfortran
+ doins cfortran.h
+
+ dosym cfortran/cfortran.h /usr/include/cfortran.h
+
+ dodoc cfortran.doc debian/{NEWS,changelog,copyright}
+
+ dohtml cfortran.html index.htm cfortest.c cfortex.f
+
+ if use examples; then
+ insinto /usr/share/${PN}
+ doins -r "${WORKDIR}"/examples
+ fi
+}
diff --git a/dev-lang/cfortran/metadata.xml b/dev-lang/cfortran/metadata.xml
new file mode 100644
index 000000000000..abd077c49f95
--- /dev/null
+++ b/dev-lang/cfortran/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ cfortran is a header file to ease bridge between C and FORTRAN. It
+ provides an interface between C and FORTRAN routines and global
+ data, i.e. structures and COMMON blocks. This package includes
+ patches from Debian for better support on newer compilers and architectures.
+</longdescription>
+</pkgmetadata>