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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jul 21 15:20:12 2005 UTC (12 years, 11 months ago) by ka0ttic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove testing ebuild.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 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.7.1.ebuild,v 1.2 2005/07/17 01:38:42 ka0ttic 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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
13 IUSE="doc"
14
15 RDEPEND=">=dev-libs/libsigc++-2.0.11
16 >=dev-libs/glib-2.6"
17
18 DEPEND="${RDEPEND}
19 dev-util/pkgconfig
20 doc? ( app-doc/doxygen )"
21
22 DOCS="AUTHORS CHANGES ChangeLog NEWS README"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 # don't waste time building the examples
28 sed -i 's/^\(SUBDIRS =.*\)examples docs\(.*\)$/\1\2/' Makefile.in || \
29 die "sed Makefile.in failed"
30
31 if use doc ; then
32 sed -i 's|../../images/||g' docs/reference/html/*.html || \
33 die "sed failed"
34 fi
35 }
36
37 src_install() {
38 gnome2_src_install
39 rm -fr ${D}/usr/share/doc/glibmm-2.4
40 if use doc ; then
41 # API Reference
42 dohtml -r docs/reference/html/* docs/images/*
43 # examples
44 find examples -type d -name '.deps' -exec rm -fr {} \; 2>/dev/null
45 cp -R examples ${D}/usr/share/doc/${PF}
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.20