summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-04-12 19:33:15 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-04-12 19:33:15 +0000
commit292b84f57865bfadd3f6efcaf7e57dfbb841afec (patch)
treedd6e6a378418b02eeb3a0d715313a469098747da /dev-lang
parentNew version (diff)
downloadgentoo-2-292b84f57865bfadd3f6efcaf7e57dfbb841afec.tar.gz
gentoo-2-292b84f57865bfadd3f6efcaf7e57dfbb841afec.tar.bz2
gentoo-2-292b84f57865bfadd3f6efcaf7e57dfbb841afec.zip
new package - fortran to C conveter
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/f2c/ChangeLog10
-rw-r--r--dev-lang/f2c/f2c-20030320.ebuild30
-rw-r--r--dev-lang/f2c/files/digest-f2c-200303201
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-lang/f2c/ChangeLog b/dev-lang/f2c/ChangeLog
new file mode 100644
index 000000000000..42ca823c4c91
--- /dev/null
+++ b/dev-lang/f2c/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lang/f2c
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/ChangeLog,v 1.1 2003/04/12 19:33:15 george Exp $
+
+*f2c-20030320.ebuild (12 Apr 2003)
+
+ 12 Apr 2003; George Shapovalov <george@gentoo.org> f2c-20030320.ebuild, files/digest-f2c-20030320 :
+ initial release (#17451)
+ Fortran to C converter
+ ebuild submitted by Tyler Trafford <ttrafford@acm.org>
diff --git a/dev-lang/f2c/f2c-20030320.ebuild b/dev-lang/f2c/f2c-20030320.ebuild
new file mode 100644
index 000000000000..4db9b7db8ef5
--- /dev/null
+++ b/dev-lang/f2c/f2c-20030320.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/f2c/f2c-20030320.ebuild,v 1.1 2003/04/12 19:33:15 george Exp $
+
+DESCRIPTION="Fortran to C converter"
+HOMEPAGE="http://www.netlib.org/f2c"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="libf2c"
+SLOT="0"
+KEYWORDS="x86"
+
+IUSE=""
+DEPEND="dev-libs/libf2c"
+
+S="${WORKDIR}/src"
+
+src_compile() {
+ sed -e "s:CFLAGS = -O::" \
+ -e "s:CC = cc::" -i.orig makefile
+
+ emake || die
+}
+
+src_install() {
+ mv -f f2c.1t f2c.1
+ doman f2c.1
+ dobin f2c
+ dodoc README Notice
+}
diff --git a/dev-lang/f2c/files/digest-f2c-20030320 b/dev-lang/f2c/files/digest-f2c-20030320
new file mode 100644
index 000000000000..6e216796941c
--- /dev/null
+++ b/dev-lang/f2c/files/digest-f2c-20030320
@@ -0,0 +1 @@
+MD5 f4f489bdf5ef3e85c58a0a95e51ab5de f2c-20030320.tar.gz 245760