diff options
author | 2012-06-19 23:49:25 +0000 | |
---|---|---|
committer | 2012-06-19 23:49:25 +0000 | |
commit | 10b213f9ae98c9a9d2b0f2c8f1171d65f053adda (patch) | |
tree | 930eda6d91a597ef4818736c25be9295721fac2f /dev-lang | |
parent | EAPI=4, fix sed expression to really install docs into the right dir (bug 421... (diff) | |
download | gentoo-2-10b213f9ae98c9a9d2b0f2c8f1171d65f053adda.tar.gz gentoo-2-10b213f9ae98c9a9d2b0f2c8f1171d65f053adda.tar.bz2 gentoo-2-10b213f9ae98c9a9d2b0f2c8f1171d65f053adda.zip |
Version bump. libf2c only needed at run time.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/f2c/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/f2c/f2c-20100827.ebuild | 49 | ||||
-rw-r--r-- | dev-lang/f2c/metadata.xml | 22 |
3 files changed, 68 insertions, 13 deletions
diff --git a/dev-lang/f2c/ChangeLog b/dev-lang/f2c/ChangeLog index 9f2e70af1e1e..5e5dc44eb1a0 100644 --- a/dev-lang/f2c/ChangeLog +++ b/dev-lang/f2c/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/f2c -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.27 2011/04/30 17:52:11 armin76 Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.28 2012/06/19 23:49:25 bicatali Exp $ + +*f2c-20100827 (19 Jun 2012) + + 19 Jun 2012; Sébastien Fabbro <bicatali@gentoo.org> +f2c-20100827.ebuild, + metadata.xml: + Version bump. libf2c only needed at run time. 30 Apr 2011; Raúl Porcel <armin76@gentoo.org> f2c-20060507.ebuild: Drop alpha/sparc keywords diff --git a/dev-lang/f2c/f2c-20100827.ebuild b/dev-lang/f2c/f2c-20100827.ebuild new file mode 100644 index 000000000000..f67c264e7133 --- /dev/null +++ b/dev-lang/f2c/f2c-20100827.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/f2c-20100827.ebuild,v 1.1 2012/06/19 23:49:25 bicatali Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DEB_PV=20100827 +DEB_PR=1 +DEB_P=${PN}_${DEB_PV} + +DESCRIPTION="Fortran to C converter" +HOMEPAGE="http://www.netlib.org/f2c" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}.orig.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.debian.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc" + +RDEPEND="dev-libs/libf2c" +DEPEND="" + +S="${WORKDIR}/${PN}" + +src_prepare() { + # selective list of patches from debian + epatch \ + "${WORKDIR}"/debian/patches/0000-prequilt-tweaks.patch \ + "${WORKDIR}"/debian/patches/0002-prototype-rmdir.patch \ + "${WORKDIR}"/debian/patches/0003-struct-init-braces.patch \ + "${WORKDIR}"/debian/patches/0004-man-dash-hyphen-slash.patch + sed -i -e '/^CC/d' -e '/^CFLAGS/d' src/makefile.u || die +} + +src_compile() { + emake -C src -f makefile.u +} + +src_install() { + doman f2c.1 + use doc && dodoc f2c.pdf + newdoc "${WORKDIR}"/debian/changelog debian.changelog + cd src + dobin f2c + dodoc README Notice +} diff --git a/dev-lang/f2c/metadata.xml b/dev-lang/f2c/metadata.xml index e66e384d5731..50d170e99065 100644 --- a/dev-lang/f2c/metadata.xml +++ b/dev-lang/f2c/metadata.xml @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <longdescription lang="en"> - F2C compiles FORTRAN 77 sources by converting to C/C++ sources and - compiling the later with gcc. The resulting binaries depend on the - libf2c runtime library. - </longdescription> - <longdescription lang="de"> - F2C kompiliert FORTRAN 77 Quellcode durch Konvertierung in C/C++ - Quellcode und deren anschließendes Kompilieren mit Hilfe von gcc. Die - produzierten Binärdateien benötigen die Laufzeitbibliothek libf2c. - </longdescription> +<herd>sci</herd> +<longdescription lang="en"> + F2C compiles FORTRAN 77 sources by converting to C/C++ sources and + compiling the later with gcc. The resulting binaries depend on the + libf2c runtime library. +</longdescription> +<longdescription lang="de"> + F2C kompiliert FORTRAN 77 Quellcode durch Konvertierung in C/C++ + Quellcode und deren anschließendes Kompilieren mit Hilfe von gcc. Die + produzierten Binärdateien benötigen die Laufzeitbibliothek libf2c. +</longdescription> </pkgmetadata> |