From 292b84f57865bfadd3f6efcaf7e57dfbb841afec Mon Sep 17 00:00:00 2001 From: George Shapovalov Date: Sat, 12 Apr 2003 19:33:15 +0000 Subject: new package - fortran to C conveter --- dev-lang/f2c/ChangeLog | 10 ++++++++++ dev-lang/f2c/f2c-20030320.ebuild | 30 ++++++++++++++++++++++++++++++ dev-lang/f2c/files/digest-f2c-20030320 | 1 + 3 files changed, 41 insertions(+) create mode 100644 dev-lang/f2c/ChangeLog create mode 100644 dev-lang/f2c/f2c-20030320.ebuild create mode 100644 dev-lang/f2c/files/digest-f2c-20030320 (limited to 'dev-lang') 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 f2c-20030320.ebuild, files/digest-f2c-20030320 : + initial release (#17451) + Fortran to C converter + ebuild submitted by Tyler Trafford 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 -- cgit v1.2.3-65-gdbad