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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 19 07:25:30 2006 UTC (8 years, 3 months ago) by bass
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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.5.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://alobbs.com/cherokee/${PV}/${P}.tar.gz
7 ftp://laurel.datsi.fi.upm.es/pub/linux/cherokee/${PV}/${P}.tar.gz"
8 HOMEPAGE="http://www.alobbs.com/cherokee"
9 LICENSE="GPL-2"
10
11 RDEPEND="virtual/libc
12 >=sys-libs/zlib-1.1.4-r1
13 gnome? ( >=dev-libs/glib-2.2.2
14 >=gnome-base/orbit-2.6.1
15 >=gnome-base/gnome-vfs-2.2.4 )"
16
17 DEPEND=">=sys-devel/automake-1.7.5
18 ${RDEPEND}"
19
20 KEYWORDS="~x86 ~sparc"
21 SLOT="0"
22 IUSE="gnome"
23
24 src_unpack ()
25 {
26 unpack "${A}"
27
28 # patch to fix Makefile DESTDIR compliance
29
30 einfo "Applying Makefile.am patch"
31 patch ${S}/Makefile.am < ${FILESDIR}/${P}-Makefile.am.patch
32
33 einfo "Running automake to update Makefile.in"
34 cd ${S}
35 automake
36 }
37
38 src_compile ()
39 {
40 use gnome && my_conf="$my_conf --enable-gnomevfs"
41
42 # coming soon ;-)
43 # use php && my_conf="$my_conf --with-php"
44 # use mono && my_conf="$my_conf --with-mono"
45
46 ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic
47 emake || die
48 }
49
50 src_install () {
51 make DESTDIR=${D} install || die
52
53 dodoc AUTHORS ChangeLog COPYING INSTALL README
54
55 # install the Gentoo-ised config file
56
57 cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf
58
59 # remove the installed sample config file
60 rm ${D}/etc/cherokee/cherokee.conf.sample
61
62 # add default doc-root and cgi-bin locations
63 dodir /var/www/localhost/htdocs
64 dodir /var/www/localhost/cgi-bin
65
66 # add init.d script
67
68 dodir /etc/init.d
69 cp ${FILESDIR}/${P}-init.d ${D}/etc/init.d/cherokee
70 }

  ViewVC Help
Powered by ViewVC 1.1.20