/[gentoo-x86]/dev-libs/libsigcx/libsigcx-0.6.5.ebuild
Gentoo

Contents of /dev-libs/libsigcx/libsigcx-0.6.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed May 14 11:43:18 2008 UTC (6 years, 2 months ago) by uid2153
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove dev-libs/libsigcx, p.masked for a month

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-libs/libsigcx/libsigcx-0.6.5.ebuild,v 1.1 2005/08/18 20:25:22 ka0ttic Exp $
4
5 inherit eutils
6
7 RESTRICT="test"
8
9 DESCRIPTION="An extension of libsigc++ that provides type-safe cross-thread signal/slot support"
10 HOMEPAGE="http://libsigcx.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/libsigcx/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="~x86"
16 IUSE="debug doc gtk threads"
17
18 DEPEND="dev-libs/libsigc++
19 doc? ( app-doc/doxygen )
20 gtk? ( >=x11-libs/gtk+-2 )"
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 epatch ${FILESDIR}/${P}-missing-friend.diff
26
27 # don't build docs unconditionally
28 sed -i -e 's|\(SUBDIRS = .*\)@MAYBE_DOC@\(.*\)$|\1\2|' Makefile.in || \
29 die "sed docs failed"
30
31 # don't build tests unless USE=test
32 # if ! use test ; then
33 sed -i -e 's|\(SUBDIRS = .*\)tests\(.*\)$|\1\2|' Makefile.in || \
34 die "sed tests failed"
35 # fi
36 }
37
38 src_compile() {
39 econf \
40 $(use_enable debug) \
41 $(use_with threads) \
42 $(use_with gtk) \
43 || die "econf failed"
44
45 emake || die "emake failed"
46
47 if use doc ; then
48 cd doc
49 emake || die "failed to build api documentation"
50 fi
51 }
52
53 src_install() {
54 make DESTDIR="${D}" install || die "make install failed"
55 dodoc AUTHORS ChangeLog NEWS README THANKS
56
57 if use doc ; then
58 dohtml -r doc/html/*
59 docinto examples
60 dodoc examples/*.{cc,h} examples/README
61 fi
62 }

  ViewVC Help
Powered by ViewVC 1.1.20