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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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.17.ebuild,v 1.4 2004/10/06 18:23:45 tester 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 unpack ${A}
22 }
23
24 src_compile() {
25
26 # coming soon ;-)
27 # use php && my_conf="$my_conf --with-php"
28 # use mono && my_conf="$my_conf --with-mono"
29
30 ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic
31 emake || die
32 }
33
34 src_install () {
35 make DESTDIR=${D} install || die
36
37 dodoc AUTHORS ChangeLog COPYING INSTALL README
38
39 # install the Gentoo-ised config file
40
41 # cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf
42
43 # remove the installed sample config file
44 # rm ${D}/etc/cherokee/cherokee.conf.sample
45
46 # add default doc-root and cgi-bin locations
47 dodir /var/www/localhost/htdocs
48 dodir /var/www/localhost/cgi-bin
49
50 # add init.d script
51 dodir /etc/init.d
52 cp ${FILESDIR}/${P}-init.d ${D}/etc/init.d/cherokee
53 }

  ViewVC Help
Powered by ViewVC 1.1.20