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

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

  ViewVC Help
Powered by ViewVC 1.1.20