summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2012-08-11 11:04:54 +0000
committerBenedikt Boehm <hollow@gentoo.org>2012-08-11 11:04:54 +0000
commit8e06aaaeb23633a78f9478faa8503959e3b7b8ba (patch)
tree92a2af4efb7c168ea5a41b5258f88cd0c5eb7ce7 /dev-libs/gecode/gecode-3.7.3.ebuild
parentadd ruby19 support (diff)
downloadgentoo-2-8e06aaaeb23633a78f9478faa8503959e3b7b8ba.tar.gz
gentoo-2-8e06aaaeb23633a78f9478faa8503959e3b7b8ba.tar.bz2
gentoo-2-8e06aaaeb23633a78f9478faa8503959e3b7b8ba.zip
version bump
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/gecode/gecode-3.7.3.ebuild')
-rw-r--r--dev-libs/gecode/gecode-3.7.3.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/gecode/gecode-3.7.3.ebuild b/dev-libs/gecode/gecode-3.7.3.ebuild
new file mode 100644
index 000000000000..4b26fc983014
--- /dev/null
+++ b/dev-libs/gecode/gecode-3.7.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gecode/gecode-3.7.3.ebuild,v 1.1 2012/08/11 11:04:54 hollow Exp $
+
+EAPI="4"
+
+DESCRIPTION="Gecode is an environment for developing constraint-based systems and applications"
+SRC_URI="http://www.gecode.org/download/${P}.tar.gz"
+HOMEPAGE="http://www.gecode.org/"
+
+SLOT="0"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples gist"
+
+DEPEND="gist? (
+ x11-libs/qt-core
+ x11-libs/qt-gui
+ media-libs/freetype
+ media-libs/libpng
+ >=dev-libs/glib-2
+)"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ --disable-examples \
+ $(use_enable gist qt) \
+ $(use_enable gist)
+}
+
+src_compile() {
+ default
+ use doc && emake doc
+}
+
+src_install() {
+ default
+
+ if use doc; then
+ dohtml -r doc/html/
+ einfo "HTML documentation has been installed into " \
+ "/usr/share/doc/${PF}/html"
+ fi
+
+ if use examples; then
+ docinto examples
+ doins examples/*.cpp
+ einfo "Example C++ programs have been installed into " \
+ "/usr/share/doc/${PF}/examples"
+ fi
+}