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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Jan 19 07:25:30 2006 UTC (8 years, 6 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 bass 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 bass 1.3 # $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/cherokee-0.4.24.ebuild,v 1.2 2005/12/27 09:19:48 bass Exp $
4 bass 1.1
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     gnutls? ( net-libs/gnutls )
17     ssl? ( dev-libs/openssl )
18     ${RDEPEND}"
19    
20     KEYWORDS="~x86 ~ppc ~sparc"
21     SLOT="0"
22 bass 1.2 IUSE="ipv6 ssl gnutls static"
23 bass 1.1
24     src_unpack() {
25     unpack ${A}
26     cd ${S}
27    
28     epatch ${FILESDIR}/cherokee-0.4.21-no-handler_admin.diff
29     }
30    
31     src_compile() {
32     local myconf
33    
34     if use ssl && use gnutls ; then
35     myconf="${myconf} --enable-ssl=gnutls"
36     elif use ssl && ! use gnutls ; then
37     myconf="${myconf} --enable-ssl=openssl"
38     else
39     myconf="${myconf} --disable-ssl"
40     fi
41     if ! use ipv6 ; then
42     myconf="${myconf} --disable-ipv6"
43     fi
44     if ! use static ; then
45     myconf="${myconf} --disable-static"
46     fi
47    
48     econf \
49     ${myconf} \
50     --with-wwwroot=/var/www/localhost/htdocs \
51     --enable-os-string="Gentoo Linux" \
52     || die "configure failed"
53    
54     emake || die "emake failed"
55     }
56    
57     src_install () {
58     dodir /var/www/localhost/htdocs
59     dodir /var/www/localhost/cgi-bin
60    
61     make DESTDIR="${D}" install || die "make install failed"
62     dodoc AUTHORS ChangeLog COPYING INSTALL README
63    
64     newinitd ${FILESDIR}/${PN}-0.4.17-init.d ${PN} || die "newinitd failed"
65     }

  ViewVC Help
Powered by ViewVC 1.1.20