summaryrefslogtreecommitdiff
blob: 6f9a8ab2ab1e4cfe53ed164463bb3a62a65fe818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}