blob: 9941851b9845d56b681ffaf8c9571fd39491c02f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Tod M. Neidt <tneidt@fidnet.com>
# $Header: /var/cvsroot/gentoo-x86/app-sci/netcdf/netcdf-3.5.0-r1.ebuild,v 1.1 2002/05/08 02:04:28 george Exp $
S=${WORKDIR}/${P}/src
DESCRIPTION="Interface for array oriented data access"
#Note orig source archive does not have version # in filename
#SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${PN}.tar.Z"
#but most of the mirrors do.
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.Z"
HOMEPAGE="http://www.unidaa.ucar.edu/packages/netcdf/"
DEPEND="virtual/glibc"
PROVIDE="app-misc/netcdf"
src_compile() {
export CPPFLAGS=-Df2cFortran
./configure \
--prefix=/usr \
--mandir=/usr/share/man || die
emake || die
make test || die
}
src_install() {
dodir /usr/{lib,share}
make prefix=${D}/usr \
MANDIR=${D}/usr/share/man \
install || die
dodoc COMPATIBILITY COPYRIGHT INSTALL.html MANIFEST
dodoc README RELEASE_NOTES VERSION
}
|