/[gentoo-x86]/www-servers/cherokee/cherokee-0.4.21.ebuild
Gentoo

Contents of /www-servers/cherokee/cherokee-0.4.21.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jan 19 07:25:30 2006 UTC (8 years, 11 months ago) by bass
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old ebuilds remved. marked 0.4.29 as x86
(Portage version: 2.0.53)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.21.ebuild,v 1.2 2005/05/16 19:09:32 bass Exp $
4
5 inherit eutils
6
7 DESCRIPTION="An extremely fast and tiny web server."
8 SRC_URI="http://www.0x50.org/download/${PV%.*}/${PV}/${P}.tar.gz"
9 HOMEPAGE="http://www.0x50.org/"
10 LICENSE="GPL-2"
11
12 RDEPEND="virtual/libc
13 >=sys-libs/zlib-1.1.4-r1"
14
15 DEPEND=">=sys-devel/automake-1.7.5
16 ${RDEPEND}"
17
18 KEYWORDS="~x86 ~ppc ~sparc"
19 SLOT="0"
20 IUSE=""
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25
26 # bug 86038 - cherokee will fail to build with >=gnutls-1.2.0 (API change)
27 if has_version '>=net-libs/gnutls-1.2.0' ; then
28 sed -i 's/\(gnutls_certificate_set_rsa\)\(_params\)/\1_export\2/' \
29 cherokee/virtual_server.c || die "sed failed"
30 fi
31 }
32
33 src_compile() {
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --disable-static \
38 --with-pic || die "configure failed"
39 emake || die "emake failed"
40 }
41
42 src_install () {
43 make DESTDIR=${D} install || die "make install failed"
44 dodoc AUTHORS ChangeLog COPYING INSTALL README
45
46 insinto /etc/cherokee
47 newins ${FILESDIR}/${PN}-0.4.17-cherokee.conf cherokee.conf || \
48 die "newins failed"
49
50 # add default doc-root and cgi-bin locations
51 dodir /var/www/localhost/htdocs
52 dodir /var/www/localhost/cgi-bin
53
54 newinitd ${FILESDIR}/${PN}-0.4.17-init.d ${PN} || die "newinitd failed"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20