# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A periodic table viewer providing detailed information on chemical elements" HOMEPAGE="http://www.kdau.com/projects/gelemental/" SRC_URI="http://www.kdau.com/files/${P}.tar.bz2" LICENSE="GPL2" SLOT="0" KEYWORDS="~x86" IUSE="doc" DEPEND="dev-util/pkgconfig sys-devel/gettext sys-devel/libtool doc? ( app-doc/doxygen )" RDEPEND="${DEPEND} >=dev-cpp/glibmm-2.6 >=dev-cpp/gtkmm-2.6" src_compile() { local myconf if use doc ; then myconf="${myconf} --enable-api-docs" fi econf ${myconf} || die "configure failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" einstall || die "einstall failed" }