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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Apr 17 13:12:30 2005 UTC (9 years, 2 months ago) by ka0ttic
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump for bug 87447; fixed 0.4.17.1 and 0.4.19 to build with >=net-libs/gnutls-1.2.0 for bug 86038. Also tidy'd the sleu of old ebuilds.
(Portage version: 2.0.51.19)

1 # Copyright 1999-2004 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.16.ebuild,v 1.3 2004/09/05 09:34:32 swegener Exp $
4
5 DESCRIPTION="An extremely fast and tiny web server."
6 SRC_URI="ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/0.4/${PV}/${P}.tar.gz"
7 HOMEPAGE="http://www.alobbs.com/cherokee"
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"
17 SLOT="0"
18 IUSE=""
19
20 src_unpack ()
21 {
22 unpack "${A}"
23
24 }
25
26 src_compile ()
27 {
28
29 # coming soon ;-)
30 # use php && my_conf="$my_conf --with-php"
31 # use mono && my_conf="$my_conf --with-mono"
32
33 ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic
34 emake || die
35 }
36
37 src_install () {
38 make DESTDIR=${D} install || die
39
40 dodoc AUTHORS ChangeLog COPYING INSTALL README
41
42 # install the Gentoo-ised config file
43
44 # cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf
45
46 # remove the installed sample config file
47 # rm ${D}/etc/cherokee/cherokee.conf.sample
48
49 # add default doc-root and cgi-bin locations
50 dodir /var/www/localhost/htdocs
51 dodir /var/www/localhost/cgi-bin
52
53 # add init.d script
54
55 dodir /etc/init.d
56 cp ${FILESDIR}/cherokee-0.4.5-init.d ${D}/etc/init.d/cherokee
57 }

  ViewVC Help
Powered by ViewVC 1.1.20