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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Apr 10 12:39:03 2012 UTC (2 years, 4 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +9 -9 lines
Stable on amd64. Bump to eapi4 for cosmetics.

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.9.ebuild,v 1.2 2010/05/31 20:08:13 maekke Exp $
4
5 EAPI=4
6
7 DESCRIPTION="A C++ class library for writing CGI applications"
8 HOMEPAGE="http://www.gnu.org/software/cgicc/"
9 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10
11 LICENSE="LGPL-3 doc? ( FDL-1.2 )"
12 SLOT="0"
13 KEYWORDS="amd64 x86"
14 IUSE="doc"
15
16 RDEPEND=""
17 DEPEND="doc? ( app-doc/doxygen )"
18
19 src_configure() {
20 if ! use doc; then
21 sed -i \
22 -e 's/^\(SUBDIRS = .*\) doc \(.*\)/\1 \2/' \
23 Makefile.in || die
24 fi
25
26 econf \
27 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
28 --disable-dependency-tracking \
29 --disable-demos
30 }
31
32 src_install() {
33 default
34
35 dodoc AUTHORS BUGS ChangeLog NEWS README* THANKS
36
37 if use doc; then
38 insinto /usr/share/doc/${PF}/contrib
39 doins contrib/*.{cpp,h} contrib/README
40
41 insinto /usr/share/doc/${PF}/demo
42 doins -r demo/*.{cpp,h} demo/images demo/README
43 fi
44 }

  ViewVC Help
Powered by ViewVC 1.1.20