blob: e308f3e0278aa14af28c541648b448548c1c6142 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/spawn-fcgi/spawn-fcgi-1.1.0.ebuild,v 1.3 2004/07/01 22:50:02 eradicator Exp $
inherit eutils
URI_ROOT="http://jan.kneschke.de/projects/lighttpd/download/"
DESCRIPTION="fast-cgi server for php and lighttpd"
HOMEPAGE="http://jan.kneschke.de/projects/lighttpd/"
SRC_URI="$URI_ROOT/${P}.tar.gz"
LICENSE="QPL-1.0"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND="virtual/libc
>=dev-libs/libpcre-3.1
>=sys-libs/zlib-1.1"
RDEPEND=">=sys-libs/zlib-1.1
>=sys-devel/libtool-1.4
>=dev-php/php-cgi-4.3.0"
S=${WORKDIR}/${P}
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die
insinto /etc/conf.d
newins ${FILESDIR}/${PN}-${PV}.conf ${PN}.conf
exeinto /etc/init.d
newexe ${FILESDIR}/${PN}-${PV}.initd ${PN}
dodoc README doc/handbook.txt
}
|