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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Jan 30 11:23:26 2008 UTC (6 years, 6 months ago) by dev-zero
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Version bump (bug #208091, general cleanup of the ebuild concerning style and correctness, license changed). Dropped old version.
(Portage version: 2.1.4)

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/cgicc/cgicc-3.2.1.ebuild,v 1.6 2005/02/11 11:43:54 ka0ttic 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="x86"
12 IUSE=""
13
14 DEPEND=">=sys-apps/sed-4"
15 RDEPEND="virtual/libc"
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_install() {
28 dohtml -r doc/html/*
29 rm -rf doc
30 make DESTDIR="${D}" install || die "make install failed"
31 dodoc AUTHORS ChangeLog COPYING COPYING.DOC COPYING.LIB INSTALL NEWS \
32 README README.WIN THANKS
33 }

  ViewVC Help
Powered by ViewVC 1.1.20