/[gentoo-x86]/www-servers/varnish/varnish-1.1.2.ebuild
Gentoo

Contents of /www-servers/varnish/varnish-1.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Mar 10 22:10:20 2008 UTC (6 years, 9 months ago) by bangert
Branch: MAIN
Changes since 1.1: +3 -2 lines
allow varnish to lock the logfile to memory - add RDEPEND on gcc
(Portage version: 2.1.4.4)

1 bangert 1.2 # Copyright 1999-2008 Gentoo Foundation
2 bangert 1.1 # Distributed under the terms of the GNU General Public License v2
3 bangert 1.2 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-1.1.2.ebuild,v 1.1 2007/12/21 22:26:22 bangert Exp $
4 bangert 1.1
5     inherit eutils
6     DESCRIPTION="Varnish is an HTTP accelerator"
7     HOMEPAGE="http://varnish.linpro.no/"
8     SRC_URI="mirror://sourceforge/varnish/${P}.tar.gz"
9    
10     LICENSE="BSD-2"
11     SLOT="0"
12     KEYWORDS="~x86"
13     IUSE=""
14 bangert 1.2 RDEPEND="sys-devel/gcc"
15 bangert 1.1
16     src_compile() {
17     econf || die "econf failed"
18     emake || die "emake failed"
19     }
20    
21     src_install() {
22     emake DESTDIR="${D}" install || die "emake install failed"
23     newinitd "${FILESDIR}"/varnishd.initd varnishd || die
24     newconfd "${FILESDIR}"/varnishd.confd varnishd || die
25     }
26    
27     pkg_postinst () {
28     elog "No demo-/sample-configfile is included in the distribution -"
29     elog "please read the man-page for more info."
30     elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
31     elog " /etc/conf.d/varnishd"
32     echo
33     }

  ViewVC Help
Powered by ViewVC 1.1.20