/[gentoo-x86]/dev-cpp/glibmm/glibmm-2.12.8.ebuild
Gentoo

Contents of /dev-cpp/glibmm/glibmm-2.12.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Dec 12 00:27:26 2007 UTC (10 years, 11 months ago) by leio
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
Remove old
(Portage version: 2.1.4_rc9)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.12.8.ebuild,v 1.11 2007/09/27 22:22:08 leio Exp $
4
5 inherit gnome2
6
7 DESCRIPTION="C++ interface for glib2"
8 HOMEPAGE="http://gtkmm.sourceforge.net/"
9
10 LICENSE="LGPL-2.1"
11 SLOT="2"
12 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
13 IUSE="doc examples"
14
15 RDEPEND=">=dev-libs/libsigc++-2.0.11
16 >=dev-libs/glib-2.9"
17 DEPEND="${RDEPEND}
18 dev-util/pkgconfig
19 doc? ( app-doc/doxygen )"
20
21 DOCS="AUTHORS CHANGES ChangeLog NEWS README"
22
23 src_unpack() {
24 gnome2_src_unpack
25
26 if ! use examples; then
27 # don't waste time building the examples
28 sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
29 die "sed Makefile.in failed"
30 fi
31 }
32
33 src_install() {
34 gnome2_src_install
35
36 if ! use doc && ! use examples; then
37 rm -fr ${D}/usr/share/doc/glibmm-2.4
38 fi
39
40 if use examples; then
41 find examples -type d -name '.deps' -exec rm -fr {} \; 2>/dev/null
42 cp -R examples ${D}/usr/share/doc/${PF}
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20