diff options
Diffstat (limited to 'sci-visualization/gfsview/gfsview-0.4.ebuild')
-rw-r--r-- | sci-visualization/gfsview/gfsview-0.4.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-visualization/gfsview/gfsview-0.4.ebuild b/sci-visualization/gfsview/gfsview-0.4.ebuild new file mode 100644 index 000000000000..37e86b9ce73a --- /dev/null +++ b/sci-visualization/gfsview/gfsview-0.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gfsview/gfsview-0.4.ebuild,v 1.1 2006/02/07 04:37:09 markusle Exp $ + +inherit eutils + +DESCRIPTION="GfsView is a graphical viewer for Gerris simulation files." +HOMEPAGE="http://gfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/gfs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND=">=x11-libs/gtkglext-1.0.6 + >=x11-libs/gtk+-2.4.0 + >=sci-libs/gerris-0.8.0" + +src_unpack() { + unpack "${A}" || die "Unpacking the source failed" + cd "${S}" || die "Failed to change directory" + + # apply upstream patch to fix crashes when + # clicking on menu items + epatch "${FILESDIR}"/gtk-client-events-handling.patch +} + +src_compile() { + econf || die "Configure failed" + emake || die "Make failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} + + |