# $Header: $ inherit eutils DESCRIPTION="A free IDL (Interactive Data Language) compatible incremental compiler" HOMEPAGE="http://gnudatalanguage.sourceforge.net/" SRC_URI="mirror://sourceforge/gnudatalanguage/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="python" DEPEND=">=sys-libs/readline-4.3 sci-libs/gsl >=sci-libs/plplot-5.3 media-gfx/imagemagick sci-libs/hdf sci-libs/hdf5 sci-libs/netcdf python? ( dev-python/numarray ) python? ( dev-python/matplotlib )" src_compile() { use python || myconf="${myconf} --with-python=no" econf || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die }