1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
4 # this package is ONLY available inside the Zope tarball!!!
6 ZOPE_P=Zope-${ZOPE_PV}-src
7 S="${WORKDIR}/${ZOPE_P}/pcgi"
9 # the only real docs about it are on the author's homepage
10 # the html.bz2 file is a copy of http://starship.python.net/crew/jbauer/persistcgi/howto/index.html, renamed.
11 # this is specifically done as every link I have seen is to the old URL of the
15 MY_PV="${PV/_alpha/a}"
17 DESCRIPTION="Jeff Bauer's Persistent CGI"
18 HOMEPAGE="http://starship.python.net/crew/jbauer/persistcgi/"
19 SRC_URI="http://www.zope.org/Products/Zope/${ZOPE_PV}/${ZOPE_P}.tgz
20 mirror://gentoo/PCGI-HOWTO-${DOCDATE}.html.bz2"
30 econf || die "econf failed"
31 emake all creosote || die "emake failed"
37 dodoc ${WORKDIR}/CGI-HOWTO-1998-08-13.html
38 newbin pcgi-wrapper pcgi-wrapper${MY_PV}
39 dosym /usr/bin/pcgi-wrapper${MY_PV} /usr/bin/pcgi-wrapper
40 dodoc MrCreosote/README.MrCreosote README Test/README.parseinfo
41 newdoc Util/README README.Util
42 dobin MrCreosote/pcgi-creosote MrCreosote/creosote.py
43 dobin Util/killpcgi.py Util/pcgifile.py
44 dobin pcgi_publisher.py
45 newbin Test/parseinfo pcgi-parseinfo
46 cp -pPR Example ${D}/usr/share/doc/${PF}/