summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-02-03 05:33:55 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-02-03 05:33:55 +0000
commitb98b6f351fecbae235ab3a43512111504cdc46a3 (patch)
treee88f85e72fc2bf5a2b453fd82ae1f323debb2496
parentAdd character width patch thanks to Slava Gorbunov (bug #277830). Do not eval... (diff)
downloadgentoo-2-b98b6f351fecbae235ab3a43512111504cdc46a3.tar.gz
gentoo-2-b98b6f351fecbae235ab3a43512111504cdc46a3.tar.bz2
gentoo-2-b98b6f351fecbae235ab3a43512111504cdc46a3.zip
Removed old
(Portage version: 2.2_rc62/cvs/Linux x86_64)
-rw-r--r--sci-visualization/opendx/opendx-4.3.2-r1.ebuild126
1 files changed, 0 insertions, 126 deletions
diff --git a/sci-visualization/opendx/opendx-4.3.2-r1.ebuild b/sci-visualization/opendx/opendx-4.3.2-r1.ebuild
deleted file mode 100644
index 54b728f6bdfd..000000000000
--- a/sci-visualization/opendx/opendx-4.3.2-r1.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.3.2-r1.ebuild,v 1.9 2010/01/18 05:55:09 bicatali Exp $
-
-# Set SMP="no" to force disable of SMP compilation.
-# Set SMP="yes" to force enable of SMP compilation.
-# Otherwise it will be autodetected from /usr/src/linux.
-
-inherit eutils flag-o-matic linux-info autotools
-
-DESCRIPTION="A 3D data visualization tool"
-HOMEPAGE="http://www.opendx.org/"
-SRC_URI="http://opendx.npaci.edu/source/${P/open}.tar.gz"
-
-# There are a few jar files that can be added to enhance JX.
-# These are java40.jar from the Netscape libraries
-# (we've provided them in the OpenDX.org lib area) nscosmop211.jar
-# from the Cosmo Player libs.
-# http://opendx.npaci.edu/libs/
-#SRC_URI="${SRC_URI}
-# http://opendx.npaci.edu/libs/netscape-java40.tar.gz
-# http://opendx.npaci.edu/libs/cosmoplayer-jar.tar.gz"
-
-LICENSE="IBM"
-SLOT="0"
-# Should work on x86, ppc, alpha at least
-KEYWORDS="amd64 ppc x86"
-
-IUSE="hdf cdf netcdf tiff imagemagick szip" # java doc"
-
-DEPEND="x11-libs/libXmu
- x11-libs/libXi
- x11-libs/libXp
- x11-libs/libXpm
- x11-libs/openmotif
- szip? ( sci-libs/szip )
- hdf? ( sci-libs/hdf )
- cdf? ( sci-libs/cdf )
- netcdf? ( sci-libs/netcdf )
- tiff? ( media-libs/tiff )
- imagemagick? ( >=media-gfx/imagemagick-5.3.4 )"
-# waiting on bug #36349 for media-libs/jasper in imagemagick
-# java support gives some trouble - deprecated api and other unresolved symbols
-# java? ( virtual/jdk
-# dev-java/java-config )"
-
-S="${WORKDIR}/${P/open}"
-
-smp() {
- has "$1" "${SMP}"
-}
-
-smp_check() {
- linux_chkconfig_present SMP
-}
-
-pkg_setup() {
- if use imagemagick; then
- if built_with_use media-gfx/imagemagick hdri; then
- die "Please re-emerge imagemagick with USE=\"-hdri\" or compilation will fail"
- fi
- fi
-
- linux-info_pkg_setup
-}
-
-src_compile() {
-
- if has_version '>=sys-kernel/linux-headers-2.6.19' ; then
- epatch "${FILESDIR}"/${P}-sys.h.patch || die "Failed to apply sys.h patch."
- fi
-
- eautoreconf || die "Failed running eautoreconf."
-
- local myconf="--with-x \
- --host=${CHOST}"
-
- # Check for SMP
- # This needs to be done for /usr/src/linux, NOT the running kernel
- # Allow override using smp().
- if smp no
- then
- myconf="${myconf} --disable-smp-linux"
- einfo "Disabling SMP capabilities"
- elif smp yes || smp_check
- then
- myconf="${myconf} --enable-smp-linux"
- einfo "Enabling SMP capabilities"
- else
- myconf="${myconf} --disable-smp-linux"
- einfo "Disabling SMP capabilities"
- fi
-
- # with gcc 3.3.2 I had an infinite loop on src/exec/libdx/zclipQ.c
- append-flags -fno-strength-reduce
-
- # (#82672)
- filter-flags -finline-functions
- replace-flags -O3 -O2
-
- local GENTOOARCH="${ARCH}"
- # opendx uses this variable
- unset ARCH
-
- local morelibs=""
- use szip && morelibs="-lsz"
- # use java && myconf="${myconf} JNIPATH=$(java-config -O)/include:$(java-config -O)/include/linux"
- econf LIBS="${morelibs}" \
- `use_with cdf` \
- `use_with netcdf` \
- `use_with hdf` \
- `use_with tiff` \
- `use_with imagemagick magick` \
- ${myconf} || die
-
- # `use_with java javadx`
- # This is broken
- # `use_enable doc installhtml`
-
- make || die
- ARCH="${GENTOOARCH}"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-}