/[gentoo-x86]/dev-libs/cgicc/cgicc-3.2.3.ebuild
Gentoo

Contents of /dev-libs/cgicc/cgicc-3.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon May 31 20:17:49 2010 UTC (4 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.3.ebuild,v 1.5 2010/05/28 16:54:35 ssuominen Exp $
4
5 DESCRIPTION="A C++ class library for writing CGI applications"
6 HOMEPAGE="http://www.cgicc.org/"
7 SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~amd64 x86"
12 IUSE="doc debug"
13
14 DEPEND=">=sys-apps/sed-4"
15 RDEPEND=""
16
17 src_unpack() {
18 unpack ${A}
19 # docs are included in html form, no need to depend on doxygen and regenerate them
20 sed -i \
21 -e 's|^\(SUBDIRS = cgicc\) doc\( support $(DEMO)\)|\1\2|' \
22 -e 's|^\(DIST_SUBDIRS = cgicc\) doc\(support demo contrib\)|\1\2|' \
23 -e 's|\($(mkdir_p) $(distdir)/cgicc\) $(distdir)/doc\( $(distdir)/support\)|\1\2|' \
24 "${S}"/Makefile.in || die "sed Makefile.in failed"
25 }
26
27 src_compile() {
28 econf \
29 --disable-demos \
30 --enable-warnings \
31 $(use_enable debug debug-logging) \
32 || die "econf failed"
33 emake || die "emake failed"
34 }
35
36 src_install() {
37 use doc && dohtml -r doc/html/*
38 rm -rf doc
39 make DESTDIR="${D}" install || die "make install failed"
40 dodoc AUTHORS ChangeLog NEWS README README.WIN THANKS
41 }

  ViewVC Help
Powered by ViewVC 1.1.20