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

Contents of /www-servers/cherokee/cherokee-0.4.10.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, 6 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.10.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 gnome? ( >=dev-libs/glib-2.2.2
13 >=gnome-base/orbit-2.6.1
14 >=gnome-base/gnome-vfs-2.2.4 )"
15
16 DEPEND=">=sys-devel/automake-1.7.5
17 ${RDEPEND}"
18
19 KEYWORDS="x86"
20 SLOT="0"
21 IUSE="gnome"
22
23 src_unpack ()
24 {
25 unpack "${A}"
26
27 # patch to fix Makefile DESTDIR compliance
28
29 # einfo "Applying Makefile.am patch"
30 # patch ${S}/Makefile.am < ${FILESDIR}/${P}-Makefile.am.patch
31 #
32 # einfo "Running automake to update Makefile.in"
33 # cd ${S}
34 # automake
35 }
36
37 src_compile ()
38 {
39 use gnome && my_conf="$my_conf --enable-gnomevfs"
40
41 # coming soon ;-)
42 # use php && my_conf="$my_conf --with-php"
43 # use mono && my_conf="$my_conf --with-mono"
44
45 ./configure --prefix=/usr --sysconfdir=/etc --disable-static $my_conf --with-pic
46 emake || die
47 }
48
49 src_install () {
50 make DESTDIR=${D} install || die
51
52 dodoc AUTHORS ChangeLog COPYING INSTALL README
53
54 # install the Gentoo-ised config file
55
56 # cp ${FILESDIR}/${P}-cherokee.conf ${D}/etc/cherokee/cherokee.conf
57
58 # remove the installed sample config file
59 # rm ${D}/etc/cherokee/cherokee.conf.sample
60
61 # add default doc-root and cgi-bin locations
62 dodir /var/www/localhost/htdocs
63 dodir /var/www/localhost/cgi-bin
64
65 # add init.d script
66
67 dodir /etc/init.d
68 cp ${FILESDIR}/cherokee-0.4.5-init.d ${D}/etc/init.d/cherokee
69 }

  ViewVC Help
Powered by ViewVC 1.1.20