summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-06-02 08:14:54 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-06-02 08:14:54 +0000
commit513fd30b56fa5bf4ac07e7a6a86ca419ca75bc97 (patch)
treedbe9a4e17c89cc4b15b5f80f3a1ce3887755ba03 /dev-lang
parentold (diff)
downloadgentoo-2-513fd30b56fa5bf4ac07e7a6a86ca419ca75bc97.tar.gz
gentoo-2-513fd30b56fa5bf4ac07e7a6a86ca419ca75bc97.tar.bz2
gentoo-2-513fd30b56fa5bf4ac07e7a6a86ca419ca75bc97.zip
Add new patch from Debebian, few trivial qa fixes
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/cfortran/ChangeLog8
-rw-r--r--dev-lang/cfortran/cfortran-4.4-r1.ebuild38
-rw-r--r--dev-lang/cfortran/metadata.xml8
3 files changed, 49 insertions, 5 deletions
diff --git a/dev-lang/cfortran/ChangeLog b/dev-lang/cfortran/ChangeLog
index d39b37270f47..961e6bfb8043 100644
--- a/dev-lang/cfortran/ChangeLog
+++ b/dev-lang/cfortran/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/cfortran
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/cfortran/ChangeLog,v 1.6 2008/04/03 05:41:16 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cfortran/ChangeLog,v 1.7 2008/06/02 08:14:54 bicatali Exp $
+
+*cfortran-4.4-r1 (02 Jun 2008)
+
+ 02 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
+ +cfortran-4.4-r1.ebuild:
+ Add new patch from Debebian, few trivial qa fixes
03 Apr 2008; Jeroen Roovers <jer@gentoo.org> cfortran-4.4.ebuild:
Marked ~hppa too.
diff --git a/dev-lang/cfortran/cfortran-4.4-r1.ebuild b/dev-lang/cfortran/cfortran-4.4-r1.ebuild
new file mode 100644
index 000000000000..0caa91f0e6b6
--- /dev/null
+++ b/dev-lang/cfortran/cfortran-4.4-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/cfortran/cfortran-4.4-r1.ebuild,v 1.1 2008/06/02 08:14:54 bicatali Exp $
+
+inherit eutils
+
+DEB_PR="12"
+
+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="~amd64 ~hppa ~sparc ~x86"
+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/metadata.xml b/dev-lang/cfortran/metadata.xml
index 629c06243ff6..4dad037b984a 100644
--- a/dev-lang/cfortran/metadata.xml
+++ b/dev-lang/cfortran/metadata.xml
@@ -3,9 +3,9 @@
<pkgmetadata>
<herd>sci</herd>
<longdescription lang="en">
-cfortran.h is an easy-to-use powerful bridge between C and FORTRAN. It
-provides a completely transparent, machine independent interface
-between C and FORTRAN routines and global data, i.e. structures and
-COMMON blocks.
+ 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>