summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Gardner <je_fro@gentoo.org>2009-02-27 17:54:32 +0000
committerJeffrey Gardner <je_fro@gentoo.org>2009-02-27 17:54:32 +0000
commit000290190910fdd8885675c94957e502435f56f3 (patch)
treed8e93c8e84858e86f233fb4e42db5c6043bbc3bb /sci-chemistry
parentIn portage (diff)
downloadje_fro-000290190910fdd8885675c94957e502435f56f3.tar.gz
je_fro-000290190910fdd8885675c94957e502435f56f3.tar.bz2
je_fro-000290190910fdd8885675c94957e502435f56f3.zip
Testing before moving to portage tree.
svn path=/; revision=267
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/gchemutils/Manifest2
-rw-r--r--sci-chemistry/gchemutils/gchemutils-0.10.3.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/sci-chemistry/gchemutils/Manifest b/sci-chemistry/gchemutils/Manifest
new file mode 100644
index 0000000..1ff55e0
--- /dev/null
+++ b/sci-chemistry/gchemutils/Manifest
@@ -0,0 +1,2 @@
+DIST gnome-chemistry-utils-0.10.3.tar.bz2 4095643 RMD160 c3c47140f6fb42846f8a61fc51db02ac9eb2bf40 SHA1 dbc29d3be6a4b3405afacb8734da1c0527a54faa SHA256 d7a12f077f0481f13afcb73dfb8ee342c7068f64cb0d5f8997fc450cdca7e74d
+EBUILD gchemutils-0.10.3.ebuild 1591 RMD160 9855329d534b34a3cf629f40a73e6def3c3ae585 SHA1 f4df87162d1097f6d6da63666c7e988c298d0eb8 SHA256 f4a5d72571449516cbff21feddd5a0b6e3d6c5493bda0bdcdcd45c9b3e357a1a
diff --git a/sci-chemistry/gchemutils/gchemutils-0.10.3.ebuild b/sci-chemistry/gchemutils/gchemutils-0.10.3.ebuild
new file mode 100644
index 0000000..55c6795
--- /dev/null
+++ b/sci-chemistry/gchemutils/gchemutils-0.10.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit gnome2 autotools
+
+MY_P="gnome-chemistry-utils-${PV}"
+DESCRIPTION="C++ classes and Gtk+-2 widgets related to chemistry"
+HOMEPAGE="http://www.nongnu.org/gchemutils/"
+SRC_URI="http://savannah.nongnu.org/download/gchemutils/0.8/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=gnome-base/libglade-2*
+ >=gnome-base/libgnomeprintui-2.4.0
+ >=x11-libs/goffice-0.6.5
+ x11-libs/gtkglext
+ app-text/gnome-doc-utils
+ >=sci-chemistry/openbabel-2.1.1
+ sci-chemistry/bodr
+ sci-chemistry/chemical-mime-data"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ !sci-chemistry/gchempaint"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if ! built_with_use x11-libs/goffice:0.6 gnome ; then
+ eerror "Please rebuild >=x11-libs/goffice-0.6.5 with gnome support enabled."
+ eerror "This needs gnome-extra/libgsf to be built with gnome support."
+ eerror "echo \"x11-libs/goffice gnome\" >> /etc/portage/package.use"
+ eerror "and"
+ eerror "echo \"gnome-extra/libgsf gnome\" >> /etc/portage/package.use"
+ eerror "or add \"gnome\" to your USE string in /etc/make.conf"
+ die "No Gnome support found in goffice."
+
+ fi
+}
+
+src_unpack() {
+ gnome2_src_unpack
+ eautoreconf
+}
+
+src_compile() {
+ gnome2_src_compile --disable-update-databases --docdir=/usr/share/doc/${PN}/html
+}
+
+pkg_postinst() {
+ elog "You can safely ignore any 'Unknown media type in type blah' warnings above."
+ elog "For more info see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420795 "
+}