/[gentoo-x86]/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.2.0.ebuild
Gentoo

Contents of /dev-cpp/gtksourceviewmm/gtksourceviewmm-2.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Jan 24 16:22:47 2011 UTC (7 years, 10 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Pin gtkmm and gtksourceviewmm dependencies to appropriate slot. Move DOCS to pkg_setup. Clean up old revision.

(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtksourceviewmm/gtksourceviewmm-2.2.0.ebuild,v 1.8 2010/08/30 12:13:50 eva Exp $
4
5 inherit gnome2
6
7 DESCRIPTION="C++ bindings for gtksourceview"
8 HOMEPAGE="http://home.gna.org/gtksourceviewmm/"
9
10 KEYWORDS="amd64 ppc x86"
11 IUSE="doc"
12 SLOT="2.0"
13 LICENSE="LGPL-2"
14
15 RDEPEND=">=dev-cpp/gtkmm-2.4
16 >=x11-libs/gtksourceview-2.1.0
17 !>=dev-cpp/libgtksourceviewmm-1"
18
19 DEPEND="${RDEPEND}
20 dev-util/pkgconfig
21 doc? ( app-doc/doxygen )"
22
23 DOCS="AUTHORS ChangeLog* NEWS README"
24
25 pkg_setup() {
26 G2CONF="${G2CONF} $(use_enable doc docs)"
27 }
28
29 src_unpack() {
30 gnome2_src_unpack
31
32 # Remove docs from SUBDIRS so that docs are not installed, as
33 # we handle it in src_install.
34 sed -i -e 's|^\(SUBDIRS =.*\)docs\(.*\)|\1\2|' Makefile.in || \
35 die "sed Makefile.in failed"
36 }
37
38 src_install() {
39 gnome2_src_install
40 use doc && dohtml -r docs/reference/html/*
41 }

  ViewVC Help
Powered by ViewVC 1.1.20