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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Mar 21 11:37:53 2012 UTC (2 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Drop www-server herd as discussed in gentoo-dev ML. Drop old.

(Portage version: 2.1.10.49/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.2.ebuild,v 1.4 2011/12/14 22:48:29 radhermit Exp $
4
5 EAPI="4"
6
7 inherit autotools-utils
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
13 LICENSE="BSD-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="doc static-libs"
17
18 CDEPEND="dev-libs/libpcre"
19 #varnish compiles stuff at run time
20 RDEPEND="${CDEPEND}
21 sys-devel/gcc"
22 DEPEND="${CDEPEND}
23 dev-python/docutils
24 dev-util/pkgconfig"
25
26 RESTRICT="test" #315725
27
28 DOCS=( README doc/changes.rst )
29
30 src_install() {
31 autotools-utils_src_install
32
33 newinitd "${FILESDIR}"/varnishd.initd varnishd
34 newconfd "${FILESDIR}"/varnishd.confd varnishd
35
36 insinto /etc/logrotate.d
37 newins "${FILESDIR}/varnishd.logrotate" varnishd
38
39 dodir /var/log/varnish
40
41 use doc && dohtml -r "doc/sphinx/=build/html/"
42 }
43
44 pkg_postinst () {
45 elog "No demo-/sample-configfile is included in the distribution -"
46 elog "please read the man-page for more info."
47 elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
48 elog " /etc/conf.d/varnishd"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20