diff options
-rw-r--r-- | dev-libs/gecode/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/gecode/gecode-3.7.3.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/gecode/Manifest b/dev-libs/gecode/Manifest index bf4b19e96049..1c0230cc43e5 100644 --- a/dev-libs/gecode/Manifest +++ b/dev-libs/gecode/Manifest @@ -1 +1,2 @@ +DIST gecode-3.7.3.tar.gz 1643336 SHA256 e7cc8bcc18b49195fef0544061bdd2e484a1240923e4e85fa39e8d6bb492854c SHA512 292bafeaca3911b8af40d7c0f425cf0263f4408afad47f4f229a821ce89d06dc69ad1feeeef72531a1e711d797d249581b67c2d9cfdc9e544240012c838d2a5b WHIRLPOOL 5aad39285c73e2d918fca98b694b33e00b11fcc21d542a37e23424acc381696f20826d6c28a33a5cde8fbfdfd4254d05791f2db903903306887e4c4fdecb7104 DIST gecode-4.4.0.tar.gz 2889186 SHA256 b45783cc8d0d5dbbd3385a263a2199e6ad7f9a286e92607de81aa0c1105769cb SHA512 5189a3c5f9f34371a0bc94528e8ca65efb0a3078ec158887f47a816d6fe3c879a7e908ee421414bc317754333ecb73806c8fc46b0b6b7d8419cdf6f13a4f8aef WHIRLPOOL a01541d86883eadfcbb45eb7df486ac8d9fa4f656dede937625b00c8f47d1898e42d1fc6004b073392a179b895bc5181585b71693d47e88317a658eb3ecf3252 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..74c441827401 --- /dev/null +++ b/dev-libs/gecode/gecode-3.7.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + 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 +} |