# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_PN="Gabedit" MY_PV="220" DESCRIPTION="GTK-based free graphical user interface for computational chemistry packages" HOMEPAGE="http://gabedit.sourceforge.net/" SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${MY_PN}%20${PV}/${MY_PN}Src${MY_PV}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="" DEPEND="${RDEPEND} >=x11-libs/gtk+-2.14.7" # are included in the source-code of gabedit: # x11-libs/gl2ps # x11-libs/gtkglarea src_compile() { cd ${MY_PN}Src${MY_PV} einfo "Building ${MY_PN} ..." emake "all" || die "gabedit emake failed" } src_install() { cd ${MY_PN}Src${MY_PV} dobin gabedit || die "failed to install gabedit executable." }