blob: 327254866b965c72d2e62d642c2d63b9128f9dd5 (
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
|
# Copyright 1999-2004 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.4 2004/03/14 12:14:29 mr_bones_ Exp $
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
}
|