blob: b4594d0d7084b52c4651d50b92339c90e9775f26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.1.ebuild,v 1.2 2003/01/08 05:33:08 jrray Exp $
S=${WORKDIR}/${P}
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DESCRIPTION="A C++ class library for writing CGI applications"
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
HOMEPAGE="http://www.cgicc.org"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
# docs are included in html form, no need to depend on doxygen and regenerate them
mv Makefile.in Makefile.in.orig
sed -e 's|^SUBDIRS = cgicc doc support $(DEMO)|SUBDIRS = cgicc support $(DEMO)|' \
-e 's|^DIST_SUBDIRS = cgicc doc support demo contrib|DIST_SUBDIRS = cgicc support demo contrib|' \
-e 's|$(mkinstalldirs) $(distdir)/cgicc $(distdir)/doc $(distdir)/support|$(mkinstalldirs) $(distdir)/cgicc $(distdir)/support|' \
Makefile.in.orig > Makefile.in
}
src_compile() {
econf || die
emake || die
}
src_install() {
dohtml -r doc/html/*
rm -rf doc
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog COPYING COPYING.DOC COPYING.LIB INSTALL NEWS README README.WIN THANKS
}
|