diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lang/f2c | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-lang/f2c')
-rw-r--r-- | dev-lang/f2c/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/f2c/f2c-20060507.ebuild | 37 | ||||
-rw-r--r-- | dev-lang/f2c/f2c-20100827.ebuild | 51 | ||||
-rw-r--r-- | dev-lang/f2c/metadata.xml | 15 |
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-lang/f2c/Manifest b/dev-lang/f2c/Manifest new file mode 100644 index 000000000000..38008a9806c6 --- /dev/null +++ b/dev-lang/f2c/Manifest @@ -0,0 +1,3 @@ +DIST f2c-20060507.tar.bz2 186677 SHA256 5d1f7579139bc474bdc5455a0d1726cab30f09f2c13c9110bdf3813066b10e2a SHA512 d0c9019b65a8ad2fd769ada596646a1cd9b682dcc8afa2cd99081376d967fbe959186a38d74570ab4bcce7622c58c8c10042948fa56e0a7080b12111c2b99b1e WHIRLPOOL a88b3e4aec80a064168ac640b6370fa5afc3d1584d6507abf53aefc471ef438aa4fded4e0cbe30d64c68324c93e97ec1f10097851f4850c55a3266bdd3ee34fc +DIST f2c_20100827-1.debian.tar.gz 15659 SHA256 1597878d24b4261094f67853b681db1be53dce5a320052d52e5203de765bd2dd SHA512 784d3f1a74311a933b54103d36dd18eb879bef1816ea82e8d93ef5a0eb7582d4ddde3a2b764d15b78194bab4cdf940480089e8b920002134af66cdf095708535 WHIRLPOOL e71139315c318c160bddd2c76486d88b0429a7e8b8f67dd2e9d6f259e2b83ce6351a95b683d7caa95d31ca64c8421d07ff90d69ec7f974d62013653f8c6beb09 +DIST f2c_20100827.orig.tar.gz 417930 SHA256 d3d1bbf814e3f6d7adf4fb86d092997dbb4994899e85b9f436920b79f0ea55b9 SHA512 2c28d8c06e53b569816e7982725133d46e9b145a84ec51771f4cca2409098f894648ebe5b8089a1ddd8468be62394b0edb5985e50baeea8129e4f507236d6c0d WHIRLPOOL c19022a3b9d269d69e3e4f507a6675f632fc2ef29da825099083aaa71f6b547a61f1ff229c1ecf5b201a98d697f8226719a305c0bdb3684db10e19b3e8c6339d diff --git a/dev-lang/f2c/f2c-20060507.ebuild b/dev-lang/f2c/f2c-20060507.ebuild new file mode 100644 index 000000000000..09be3136a745 --- /dev/null +++ b/dev-lang/f2c/f2c-20060507.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="Fortran to C converter" +HOMEPAGE="http://www.netlib.org/f2c" +#SRC_URI="ftp://netlib.bell-labs.com/netlib/f2c/src.tar" +# To create, download src.tar, ungzip everything inside, then tar.bz2 the whole +# thing. +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" +IUSE="" + +RDEPEND="dev-libs/libf2c" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/src" + +src_compile() { + emake \ + -f makefile.u \ + CC=$(tc-getCC) \ + CFLAGS="${CFLAGS}" \ + || die "make failed" +} + +src_install() { + mv -f f2c.1t f2c.1 + doman f2c.1 + dobin f2c + dodoc README Notice +} diff --git a/dev-lang/f2c/f2c-20100827.ebuild b/dev-lang/f2c/f2c-20100827.ebuild new file mode 100644 index 000000000000..107d53bd2898 --- /dev/null +++ b/dev-lang/f2c/f2c-20100827.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="HPND" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +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 + tc-export CC +} + +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 new file mode 100644 index 000000000000..adca89fcd3f8 --- /dev/null +++ b/dev-lang/f2c/metadata.xml @@ -0,0 +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> +</pkgmetadata> |