diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-08 16:45:23 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-10-08 16:45:23 +0000 |
commit | 05fcdc02c2ce32724fc2d3046d40f90b6ee14054 (patch) | |
tree | bb8931ff2f707c6c3d6cea607b338505c25c19bd /sci-visualization | |
parent | EAPI=2 (diff) | |
download | gentoo-2-05fcdc02c2ce32724fc2d3046d40f90b6ee14054.tar.gz gentoo-2-05fcdc02c2ce32724fc2d3046d40f90b6ee14054.tar.bz2 gentoo-2-05fcdc02c2ce32724fc2d3046d40f90b6ee14054.zip |
Import from the science overlay. Thanks François Bissey for his efforts.
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
4 files changed, 112 insertions, 2 deletions
diff --git a/sci-visualization/opendx-samples/ChangeLog b/sci-visualization/opendx-samples/ChangeLog index 951560839f6a..2ec5f3244bda 100644 --- a/sci-visualization/opendx-samples/ChangeLog +++ b/sci-visualization/opendx-samples/ChangeLog @@ -1,6 +1,21 @@ # ChangeLog for sci-visualization/opendx-samples -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx-samples/ChangeLog,v 1.8 2008/01/21 16:27:07 spock Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx-samples/ChangeLog,v 1.9 2009/10/08 16:45:22 bicatali Exp $ + + 08 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> + +opendx-samples-4.4.0-r1.ebuild, +files/opendx-samples-4.4.0-nojava.patch, + metadata.xml: + Import from the science overlay. Thanks François Bissey for his efforts. + +*opendx-samples-4.4.0-r1 (11 May 2009) + + 11 May 2009; François Bissey <f.r.bissey@massey.ac.nz> + +opendx-samples-4.4.0-r1.ebuild, + +files/opendx-samples-4.4.0-install.patch, + +files/opendx-samples-4.4.0-nojava.patch, +metadata.xml: + initial import in the science overlay. Release needed to match the new + file location in opendx-4.4.4-r2. Got rid of the ugly installation hack + in favor of a (big) patch. *opendx-samples-4.4.0 (21 Jan 2008) diff --git a/sci-visualization/opendx-samples/files/opendx-samples-4.4.0-nojava.patch b/sci-visualization/opendx-samples/files/opendx-samples-4.4.0-nojava.patch new file mode 100644 index 000000000000..984f84a10336 --- /dev/null +++ b/sci-visualization/opendx-samples/files/opendx-samples-4.4.0-nojava.patch @@ -0,0 +1,50 @@ +--- dxsamples-4.4.0/Makefile.am.nojava 2002-01-28 21:53:08.000000000 +0100 ++++ dxsamples-4.4.0/Makefile.am 2006-09-03 01:40:26.000000000 +0200 +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-SUBDIRS = callmodule data dxlink java macros \ ++SUBDIRS = callmodule data dxlink macros \ + outboard program_guide programs scripts \ + supervise tutorial user util stereo + +--- dxsamples-4.4.0/configure.ac-orig 2009-05-03 14:30:59.000000000 +1200 ++++ dxsamples-4.4.0/configure.ac 2009-05-03 14:31:44.000000000 +1200 +@@ -25,11 +25,6 @@ AC_SUBST(RTL_LIBS) + + SHELL=/bin/sh + +-AC_ARG_WITH(javadx, +- [ --with-javadx enable JAVADX (default is yes)], +- [with_javadx=$withval], +- [with_javadx='yes']) +- + AC_PROG_INSTALL + if test -z "$LN_S" ; then + AC_PROG_LN_S +@@ -40,25 +35,8 @@ DX_GET_PREFIX + DX_GET_ARCH + DX_ARCH_SPECIFIC + +-MAKE_JAVADX_SAMPLES="" +-if test "with_javadx" != 'no' ; then +- failed=0; +- passed=0; +- DX_PROG_JAVAC(passed=`expr $passed + 1`,failed=`expr $failed + 1`) +- DX_PROG_JAR(passed=`expr $passed + 1`,failed=`expr $failed + 1`) +- +- if test $failed -eq 0 ; then +- DX_JAVADX_SETUP(passed=`expr $passed + 1`,failed=`expr $failed + 1`) +- if test $failed -eq 0 ; then +- MAKE_JAVADX_SAMPLES=samples +- fi +- fi +-fi +- + AC_OUTPUT( Makefile callmodule/Makefile callmodule/localmk \ + data/Makefile dxlink/Makefile dxlink/dxlink_make \ +- java/samples/Makefile java/Makefile java/userdata/Makefile \ +- java/usermacros/Makefile java/nets/Makefile java/makes/Makefile \ + macros/Makefile outboard/Makefile \ + program_guide/Makefile program_guide/localmk program_guide/guidemake \ + programs/2D_DATA/Makefile programs/3D_DATA/Makefile \ diff --git a/sci-visualization/opendx-samples/metadata.xml b/sci-visualization/opendx-samples/metadata.xml index b229aec85b8f..8d2b82e1c604 100644 --- a/sci-visualization/opendx-samples/metadata.xml +++ b/sci-visualization/opendx-samples/metadata.xml @@ -2,4 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> +<longdescription lang='en'> + This package contains examples of scripts and networks for the + OpenDX Data Explorer. They are referenced in the OpenDX tutorial, + but can also be used stand-alone to browse and investigate. +</longdescription> </pkgmetadata> diff --git a/sci-visualization/opendx-samples/opendx-samples-4.4.0-r1.ebuild b/sci-visualization/opendx-samples/opendx-samples-4.4.0-r1.ebuild new file mode 100644 index 000000000000..a758d6716f96 --- /dev/null +++ b/sci-visualization/opendx-samples/opendx-samples-4.4.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx-samples/opendx-samples-4.4.0-r1.ebuild,v 1.1 2009/10/08 16:45:22 bicatali Exp $ + +EAPI=2 + +inherit eutils autotools + +MY_PN="dxsamples" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Samples for IBM Data Explorer" +HOMEPAGE="http://www.opendx.org/" +SRC_URI="http://opendx.sdsc.edu/source/${MY_P}.tar.gz + mirror://gentoo/${P}-install.patch.bz2" +LICENSE="IPL-1" +SLOT="0" + +S="${WORKDIR}/${MY_P}" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=sci-visualization/opendx-4.4.4-r2" +DEPEND="${RDEPEND}" + +src_prepare() { + #absolutely no javadx for now + epatch "${FILESDIR}/${P}-nojava.patch" + epatch "${WORKDIR}/${P}-install.patch" + eautoreconf +} + +src_configure() { + econf --libdir="/usr/$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |