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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Oct 12 20:23:37 2009 UTC (8 years, 3 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Clean up old revisions.
(Portage version: 2.2_rc42/cvs/Linux x86_64)

1 # Copyright 1999-2008 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.18.1.ebuild,v 1.1 2008/11/03 21:04:23 eva Exp $
4
5 inherit gnome2
6
7 DESCRIPTION="C++ interface for glib2"
8 HOMEPAGE="http://www.gtkmm.org"
9
10 LICENSE="|| ( LGPL-2.1 GPL-2 )"
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.2
16 >=dev-libs/glib-2.17.3"
17 DEPEND="${RDEPEND}
18 dev-util/pkgconfig
19 doc? ( app-doc/doxygen )"
20
21 DOCS="AUTHORS ChangeLog NEWS README"
22
23 src_unpack() {
24 gnome2_src_unpack
25
26 # don't waste time building tests
27 # no USE=test because there is no "check" target
28 sed -i 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' Makefile.in || die "sed failed"
29
30 if ! use examples; then
31 # don't waste time building examples
32 sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || die "sed failed"
33 fi
34 }
35
36 src_install() {
37 gnome2_src_install
38
39 if ! use doc && ! use examples; then
40 rm -fr "${D}/usr/share/doc/glibmm-2.4"
41 fi
42
43 if use examples; then
44 find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
45 dodoc examples
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20