initial ebuild
authorHannes Mehnert <hannes@gentoo.org>
Tue, 29 Oct 2002 02:15:55 +0000 (02:15 +0000)
committerHannes Mehnert <hannes@gentoo.org>
Tue, 29 Oct 2002 02:15:55 +0000 (02:15 +0000)
dev-libs/libf2c/ChangeLog [new file with mode: 0644]
dev-libs/libf2c/files/digest-libf2c-20021004 [new file with mode: 0644]
dev-libs/libf2c/libf2c-20021004.ebuild [new file with mode: 0644]

diff --git a/dev-libs/libf2c/ChangeLog b/dev-libs/libf2c/ChangeLog
new file mode 100644 (file)
index 0000000..780ffc9
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for dev-libs/libf2c
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/ChangeLog,v 1.1 2002/10/29 02:15:55 hannes Exp $
+
+*libf2c-20021004` (28 Oct 2002)
+
+  28 Oct 2002; Hannes Mehnert <hannes@gentoo.org> libf2c-20021004.ebuild,
+  ChangeLog: Initial ebuild. Thanks to a-tenderholt@northwestern.edu.
diff --git a/dev-libs/libf2c/files/digest-libf2c-20021004 b/dev-libs/libf2c/files/digest-libf2c-20021004
new file mode 100644 (file)
index 0000000..ff8b016
--- /dev/null
@@ -0,0 +1 @@
+MD5 64b87b3804fad207aa476894e00cd496 libf2c.zip 123393
diff --git a/dev-libs/libf2c/libf2c-20021004.ebuild b/dev-libs/libf2c/libf2c-20021004.ebuild
new file mode 100644 (file)
index 0000000..6f9a8ab
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libf2c/libf2c-20021004.ebuild,v 1.1 2002/10/29 02:15:55 hannes Exp $
+
+IUSE=""
+S="${WORKDIR}/${PN}"
+DESCRIPTION="Library that converts FORTRAN to C source."
+SRC_URI="ftp://ftp.netlib.org/f2c/${PN}.zip"
+HOMEPAGE="ftp://ftp.netlib.org/f2c/index.html"
+LICENSE="libf2c"
+KEYWORDS="~x86"
+SLOT="0"
+DEPEND="virtual/glibc"
+
+src_compile() {
+       sed -e "s:CFLAGS = -O::" makefile.u > makefile
+       emake
+}
+
+src_install () {
+       into /usr
+       dolib.a libf2c.a
+       insinto /usr/include
+       doins f2c.h
+       dodoc README Notice
+}