Lines 1-6
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.5.ebuild,v 1.1 2008/01/30 11:23:26 dev-zero Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cgicc/cgicc-3.2.5-1.ebuild,v 1.1 2008/01/30 11:23:26 dev-zero Exp $ |
|
|
4 |
|
5 |
inherit autotools |
4 |
|
6 |
|
5 |
DESCRIPTION="A C++ class library for writing CGI applications" |
7 |
DESCRIPTION="A C++ class library for writing CGI applications" |
6 |
HOMEPAGE="http://www.cgicc.org/" |
8 |
HOMEPAGE="http://www.cgicc.org/" |
Lines 21-34
Link Here
|
21 |
# upstream bug: #22176 |
23 |
# upstream bug: #22176 |
22 |
sed -i \ |
24 |
sed -i \ |
23 |
-e 's/@GNUCAP_LDFLAGS@//' \ |
25 |
-e 's/@GNUCAP_LDFLAGS@//' \ |
24 |
cgicc/Makefile.in || die "sed failed" |
26 |
cgicc/Makefile.am || die "sed failed" |
25 |
|
27 |
|
26 |
# Fix docdir/htmldir paths in doc/Makefile.in |
28 |
# Fix docdir/htmldir paths in doc/Makefile.in |
27 |
# upstream bug: #6385 |
29 |
# upstream bug: #6385 |
28 |
sed -i \ |
30 |
sed -i \ |
29 |
-e 's|$(docdir)|@htmldir@|g' \ |
31 |
-e 's|$(docdir)|@htmldir@|g' \ |
30 |
-e 's|$(prefix)/doc/\$(PACKAGE)-\$(VERSION)|@docdir@|' \ |
32 |
-e 's|$(prefix)/doc/\$(PACKAGE)-\$(VERSION)|@docdir@|' \ |
31 |
doc/Makefile.in || die "sed failed" |
33 |
doc/Makefile.am || die "sed failed" |
|
|
34 |
|
35 |
# Fix libtool links |
36 |
# bug: #227537 (http://bugs.gentoo.org/227537) |
37 |
rm example/config.guess example/ltmain.sh example/config.sub |
38 |
ln -s /usr/share/libtool/config/config.guess example/ |
39 |
ln -s /usr/share/libtool/config/ltmain.sh example/ |
40 |
ln -s /usr/share/libtool/config/config.sub example/ |
41 |
|
42 |
# run autoconf |
43 |
eautoreconf || die "autoconf failed" |
44 |
epatch "${FILESDIR}"/HTMLElement-cstring.patch |
45 |
|
32 |
} |
46 |
} |
33 |
|
47 |
|
34 |
src_compile() { |
48 |
src_compile() { |
Lines 42-48
Link Here
|
42 |
econf \ |
56 |
econf \ |
43 |
--disable-demos \ |
57 |
--disable-demos \ |
44 |
--htmldir=/usr/share/doc/${PF}/html \ |
58 |
--htmldir=/usr/share/doc/${PF}/html \ |
45 |
$(use_enable debug debug-logging) \ |
59 |
$(use_enable debug) \ |
46 |
|| die "econf failed" |
60 |
|| die "econf failed" |
47 |
emake || die "emake failed" |
61 |
emake || die "emake failed" |
48 |
} |
62 |
} |