You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
48 lines
1.4 KiB
13 years ago
|
# Copyright 1999-2011 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
# this package is ONLY available inside the Zope tarball!!!
|
||
|
ZOPE_PV=2.6.1
|
||
|
ZOPE_P=Zope-${ZOPE_PV}-src
|
||
|
S="${WORKDIR}/${ZOPE_P}/pcgi"
|
||
|
|
||
|
# the only real docs about it are on the author's homepage
|
||
|
# the html.bz2 file is a copy of http://starship.python.net/crew/jbauer/persistcgi/howto/index.html, renamed.
|
||
|
# this is specifically done as every link I have seen is to the old URL of the
|
||
|
# author
|
||
|
DOCDATE="1998-08-13"
|
||
|
|
||
|
MY_PV="${PV/_alpha/a}"
|
||
|
|
||
|
DESCRIPTION="Jeff Bauer's Persistent CGI"
|
||
|
HOMEPAGE="http://starship.python.net/crew/jbauer/persistcgi/"
|
||
|
SRC_URI="http://www.zope.org/Products/Zope/${ZOPE_PV}/${ZOPE_P}.tgz
|
||
|
mirror://gentoo/PCGI-HOWTO-${DOCDATE}.html.bz2"
|
||
|
LICENSE="ZPL"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~x86 ~ppc"
|
||
|
IUSE=""
|
||
|
DEPEND="${DEPEND}"
|
||
|
RDEPEND="${RDEPEND}
|
||
|
dev-lang/python"
|
||
|
|
||
|
src_compile() {
|
||
|
econf || die "econf failed"
|
||
|
emake all creosote || die "emake failed"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
into /usr
|
||
|
dodir /usr/bin
|
||
|
dodoc ${WORKDIR}/CGI-HOWTO-1998-08-13.html
|
||
|
newbin pcgi-wrapper pcgi-wrapper${MY_PV}
|
||
|
dosym /usr/bin/pcgi-wrapper${MY_PV} /usr/bin/pcgi-wrapper
|
||
|
dodoc MrCreosote/README.MrCreosote README Test/README.parseinfo
|
||
|
newdoc Util/README README.Util
|
||
|
dobin MrCreosote/pcgi-creosote MrCreosote/creosote.py
|
||
|
dobin Util/killpcgi.py Util/pcgifile.py
|
||
|
dobin pcgi_publisher.py
|
||
|
newbin Test/parseinfo pcgi-parseinfo
|
||
|
cp -pPR Example ${D}/usr/share/doc/${PF}/
|
||
|
}
|