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

Contents of /www-servers/varnish/varnish-2.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jan 27 19:52:24 2009 UTC (5 years, 8 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20