/[gentoo-x86]/dev-libs/gecode/gecode-3.6.0.ebuild
Gentoo

Contents of /dev-libs/gecode/gecode-3.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Sep 3 13:41:23 2012 UTC (2 years ago) by kensington
Branch: MAIN
Changes since 1.1: +4 -4 lines
Add missing slot dependencies on Qt.

(Portage version: 2.1.11.13/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gecode/gecode-3.6.0.ebuild,v 1.1 2011/07/25 08:33:42 hollow Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Gecode is an environment for developing constraint-based systems and applications"
8 SRC_URI="http://www.gecode.org/download/${P}.tar.gz"
9 HOMEPAGE="http://www.gecode.org/"
10
11 SLOT="0"
12 LICENSE="MIT"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc examples gist"
15
16 DEPEND="gist? (
17 x11-libs/qt-core:4
18 x11-libs/qt-gui:4
19 media-libs/freetype
20 media-libs/libpng
21 >=dev-libs/glib-2
22 )"
23 RDEPEND="${DEPEND}"
24
25 src_configure() {
26 econf \
27 --disable-examples \
28 $(use_enable gist qt) \
29 $(use_enable gist)
30 }
31
32 src_compile() {
33 default
34 use doc && emake doc
35 }
36
37 src_install() {
38 default
39
40 if use doc; then
41 dohtml -r doc/html/
42 einfo "HTML documentation has been installed into " \
43 "/usr/share/doc/${PF}/html"
44 fi
45
46 if use examples; then
47 docinto examples
48 doins examples/*.cpp
49 einfo "Example C++ programs have been installed into " \
50 "/usr/share/doc/${PF}/examples"
51 fi
52 }

  ViewVC Help
Powered by ViewVC 1.1.20