public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] netCDF ebuild
@ 2001-06-25  3:32 Tod M. Neidt
  0 siblings, 0 replies; only message in thread
From: Tod M. Neidt @ 2001-06-25  3:32 UTC (permalink / raw
  To: gentoo-dev@cvs.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Hi!

Attached is an ebuild for netCDF, an interface for array oriented data
access.
Note: the orig archive file (netcdf.tar.Z) does not have the version
number in it (3.5.0).

tod

[-- Attachment #2: netcdf-3.5.0.ebuild --]
[-- Type: text/plain, Size: 824 bytes --]

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Tod M. Neidt <tneidt@fidnet.com>
# /home/cvsroot/gentoo-x86/app-misc/netCDF/netcdf-3.5.0.ebuild,v 1.4 2001/06/04 21:57:52 achim Exp

A=${P}.tar.Z
S=${WORKDIR}/${P}
DESCRIPTION="interface for array oriented data access"
#Note orig source archive does not have version #
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/"${A}
HOMEPAGE="http://www.unidaa.ucar.edu/packages/netcdf/"

DEPEND=""

src_compile() {
  export CPPFLAGS=-Df2cFortran
  cd ${S}/src
  ./configure --prefix=${D}/usr
  try make
  unset CPPFLAGS
  try make test
}

src_install() {
  cd ${S}/src
  dodir /usr/lib
  try make install
  dodoc COMPATIBILITY COPYRIGHT INSTALL.html MANIFEST
  dodoc README RELEASE_NOTES VERSION
}  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-25  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-25  3:32 [gentoo-dev] netCDF ebuild Tod M. Neidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox