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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Sep 9 11:30:37 2005 UTC (12 years, 10 months ago) by ka0ttic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump; remove old 2.7.x releases.
(Portage version: 2.0.52-r1)

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.2.ebuild,v 1.1 2005/08/01 14:28:43 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 ~mips ~ppc ~ppc64 ~sparc ~x86"
13 IUSE="doc"
14
15 RDEPEND=">=dev-libs/libsigc++-2.0.11
16 >=dev-libs/glib-2.7"
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
28 # don't waste time building the examples
29 sed -i 's/^\(SUBDIRS =.*\)examples docs\(.*\)$/\1\2/' Makefile.in || \
30 die "sed Makefile.in failed"
31
32 # fix image paths
33 if use doc ; then
34 sed -i 's|../../images/||g' docs/reference/html/*.html || \
35 die "sed failed"
36 fi
37 }
38
39 src_install() {
40 gnome2_src_install
41 rm -fr ${D}/usr/share/doc/glibmm-2.4
42 if use doc ; then
43 # API Reference
44 dohtml -r docs/reference/html/* docs/images/*
45 # examples
46 find examples -type d -name '.deps' -exec rm -fr {} \; 2>/dev/null
47 cp -R examples ${D}/usr/share/doc/${PF}
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20