diff options
author | Peter Bienstman <pbienst@gentoo.org> | 2004-03-03 16:40:03 +0000 |
---|---|---|
committer | Peter Bienstman <pbienst@gentoo.org> | 2004-03-03 16:40:03 +0000 |
commit | eecc63df3c9f0e41286ea56d59e5c996e3c0863d (patch) | |
tree | 5988a0cc74144b3a7111aab91c6bb423a1af1613 /dev-libs/hdf5/hdf5-1.6.2.ebuild | |
parent | add ~ia64 (Manifest recommit) (diff) | |
download | gentoo-2-eecc63df3c9f0e41286ea56d59e5c996e3c0863d.tar.gz gentoo-2-eecc63df3c9f0e41286ea56d59e5c996e3c0863d.tar.bz2 gentoo-2-eecc63df3c9f0e41286ea56d59e5c996e3c0863d.zip |
new version 1.6.2
Diffstat (limited to 'dev-libs/hdf5/hdf5-1.6.2.ebuild')
-rw-r--r-- | dev-libs/hdf5/hdf5-1.6.2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/hdf5/hdf5-1.6.2.ebuild b/dev-libs/hdf5/hdf5-1.6.2.ebuild new file mode 100644 index 000000000000..a51db51c4176 --- /dev/null +++ b/dev-libs/hdf5/hdf5-1.6.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/hdf5/hdf5-1.6.2.ebuild,v 1.1 2004/03/03 16:40:03 pbienst Exp $ + +DESCRIPTION="general purpose library and file format for storing scientific data" +HOMEPAGE="http://hdf.ncsa.uiuc.edu/HDF5/" +SRC_URI="ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/current/src/${P}.tar.gz" + +LICENSE="NCSA-HDF" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64" +IUSE="static zlib ssl" + +DEPEND="zlib? ( sys-libs/zlib )" +PROVIDE="dev-libs/hdf5" + +src_compile() { + local myconf + + #--disable-static conflicts with --enable-cxx, so we have to do either or + use static && myconf="--enable-cxx" || myconf="--disable-static" + use zlib || myconf="${myconf} --disable-zlib" + use ssl && myconf="${myconf} --with-ssl" + + # NOTE: the hdf5 configure script has its own interpretation of + # the ARCH environment variable which conflicts with that of + # ebuild/emerge. As a work around, we save the ARCH variable as + # EBUILD_ARCH and restore it when we are done. + EBUILD_ARCH=${ARCH} + unset ARCH + + ./configure ${myconf} --enable-linux-lfs --with-gnu-ld \ + --prefix=/usr \ + --sysconfdir=/etc \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "configure failed" + + # restore the ARCH environment variable + ARCH=${EBUILD_ARCH} + + make || die "emake failed" +} + +src_install() { + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + docdir=${D}/usr/share/doc/${PF} \ + infodir=${D}/usr/share/info \ + install || die "make install failed" + + dodoc README.txt COPYING MANIFEST + dohtml doc/html/* +} |