# Copyright 1999-2010 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.4 2010/01/20 20:07:53 maekke 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="IBM" 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" }