summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/gelemental/gelemental-1.2.0.ebuild')
-rw-r--r--sci-chemistry/gelemental/gelemental-1.2.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sci-chemistry/gelemental/gelemental-1.2.0.ebuild b/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
new file mode 100644
index 000000000000..af1dfd7504ea
--- /dev/null
+++ b/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v 1.1 2008/03/20 19:38:20 drac Exp $
+
+inherit fdo-mime gnome2-utils
+
+DESCRIPTION="a periodic table viewer that provides detailed information on the
+chemical elements."
+HOMEPAGE="http://www.kdau.com/projects/gelemental"
+SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND=">=dev-cpp/gtkmm-2.6
+ >=dev-cpp/glibmm-2.6"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool
+ doc? ( app-doc/doxygen )"
+
+src_compile() {
+ econf --disable-dependency-tracking $(use_enable doc api-docs)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake apidir="/usr/share/doc/${PF}/html" DESTDIR="${D}" \
+ install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS* README TODO TRANSLATORS
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}