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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 14 20:06:42 2011 UTC (2 years, 9 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-3.0.0.ebuild,v 1.1 2011/07/30 22:27:28 patrick Exp $
4
5 EAPI="3"
6
7 inherit eutils autotools
8
9 DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator."
10 HOMEPAGE="http://www.varnish-cache.org/"
11 SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
12 LICENSE="BSD-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="doc"
16 #varnish compiles stuff at run time
17 RDEPEND="sys-devel/gcc"
18 DEPEND="dev-python/docutils"
19
20 RESTRICT="test" #315725
21
22 src_install() {
23 emake DESTDIR="${D}" install || die "emake install failed"
24 newinitd "${FILESDIR}"/varnishd.initd varnishd || die
25 newconfd "${FILESDIR}"/varnishd.confd varnishd || die
26
27 insinto /etc/logrotate.d
28 newins "${FILESDIR}/varnishd.logrotate" varnishd
29
30 dodir /var/log/varnish
31
32 use doc && dohtml -r "doc/sphinx/=build/html/"
33 }
34
35 pkg_postinst () {
36 elog "No demo-/sample-configfile is included in the distribution -"
37 elog "please read the man-page for more info."
38 elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
39 elog " /etc/conf.d/varnishd"
40 echo
41 ewarn "Varnish 2.1.x introduces VCL changes wrt. 2.0.x. See also"
42 ewarn "http://www.varnish-cache.org/docs/2.1/reference/vcl.html"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20