summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-06-19 23:49:25 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-06-19 23:49:25 +0000
commit788575434cc5376031ca039157360dfbe05fbf70 (patch)
treea26b7a21c61c5eea5b58b344ea9e8f8cf1b6143e /dev-lang/f2c
parentEAPI=4, fix sed expression to really install docs into the right dir (bug 421... (diff)
downloadhistorical-788575434cc5376031ca039157360dfbe05fbf70.tar.gz
historical-788575434cc5376031ca039157360dfbe05fbf70.tar.bz2
historical-788575434cc5376031ca039157360dfbe05fbf70.zip
Version bump. libf2c only needed at run time.
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/f2c')
-rw-r--r--dev-lang/f2c/ChangeLog10
-rw-r--r--dev-lang/f2c/Manifest15
-rw-r--r--dev-lang/f2c/f2c-20100827.ebuild49
-rw-r--r--dev-lang/f2c/metadata.xml22
4 files changed, 77 insertions, 19 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/Manifest b/dev-lang/f2c/Manifest
index 149f0e2cd60b..bc3705ff76e5 100644
--- a/dev-lang/f2c/Manifest
+++ b/dev-lang/f2c/Manifest
@@ -2,13 +2,16 @@
Hash: SHA1
DIST f2c-20060507.tar.bz2 186677 RMD160 e19da8a875955c5108505ce03c3123397ca8e197 SHA1 329b422c61462d03d7f5514c93f8588dfbfdb893 SHA256 5d1f7579139bc474bdc5455a0d1726cab30f09f2c13c9110bdf3813066b10e2a
+DIST f2c_20100827-1.debian.tar.gz 15659 RMD160 4d8c564b59567d315b34a0cbb3ec14162ca8dd7b SHA1 25f7903a71eeb623ec400d9d3d4e57971d0ff00a SHA256 1597878d24b4261094f67853b681db1be53dce5a320052d52e5203de765bd2dd
+DIST f2c_20100827.orig.tar.gz 417930 RMD160 6c4bdfa15d86c331760ef19e60d6d9c9bd286fdc SHA1 ff0fa7b05bf69cbefe8d99e4d4c1c4c812c2d24a SHA256 d3d1bbf814e3f6d7adf4fb86d092997dbb4994899e85b9f436920b79f0ea55b9
EBUILD f2c-20060507.ebuild 844 RMD160 f106a878b826113e68c5e9241cefee17cf2f5947 SHA1 e17360720e248001fb90ced688e5f3285158e129 SHA256 dc10dbda54d834b9bffbd40d9e07353267410cf6d8ebc6dc1775dea45fd01464
-MISC ChangeLog 3141 RMD160 4d929d333d67f0f3b179c70f4c653fd993889686 SHA1 f35abcbbbee4417da73f79b782179af20dec3a64 SHA256 5c4981505fc31e4c1dc904a9888b88843df63a1c23fa7cc4cd6684b4ee22e2db
-MISC metadata.xml 630 RMD160 e02af33230b3afcb37e18c8872286d6add53a663 SHA1 e624d8b6898eec8285883f9ccda8f9473bcd5cac SHA256 97dde2ff8d545c97d0b4bfbb990e3c834fff3ecdb2c898ef46594fbcd61e1e99
+EBUILD f2c-20100827.ebuild 1241 RMD160 0dcaa583870f7a3abfd6f888cbfec00f52ebb172 SHA1 647f72085cbcb119b68141d730f088568dce69b6 SHA256 759995493a2283efda4b121a1b779973df66b0a27294e4725dc0de15f9d46ed5
+MISC ChangeLog 3313 RMD160 3577026e48ae61f1510402eb5174d65f8645decf SHA1 0ac7f2ce8e572a6095cc3440509c347787af163b SHA256 d947abbcd3e3fdd7f2c77ff15919dc83ea03cf8f0264f7395b6d7e6a8b1efb60
+MISC metadata.xml 625 RMD160 bde6dadfb95361e167e7373ab6b881c2a9125e88 SHA1 37b5a10ff2a3311f5eac0712c2f522c2796a87c4 SHA256 62389e3b975ba3b4d22864fde9c8e851424db4827de71bc1afa07fc28955d63c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk28TFEACgkQuQc30/atMkDDfQCfZvPTY2q8hjnUANEPgNJ28YBy
-hIEAmwWG7MMRD+qTNLoUg8rhN4qNkSlc
-=AB59
+iEYEARECAAYFAk/hEA0ACgkQ1ycZbhPLE2BUVwCdFXqV5HaDMtECKYjq9mWxBDpu
+ytYAoKd/xVo9siE9jOY/P4kPGS1IQNBD
+=Y8Hk
-----END PGP SIGNATURE-----
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>