# 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" }