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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Mar 21 11:37:53 2012 UTC (2 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +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.1.ebuild,v 1.3 2011/12/14 22:48:29 radhermit Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator."
8 HOMEPAGE="http://www.varnish-cache.org/"
9 SRC_URI="http://repo.varnish-cache.org/source/${P}.tar.gz"
10
11 LICENSE="BSD-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="doc static-libs"
15
16 CDEPEND="dev-libs/libpcre"
17 #varnish compiles stuff at run time
18 RDEPEND="${CDEPEND}
19 sys-devel/gcc"
20 DEPEND="${CDEPEND}
21 dev-python/docutils
22 dev-util/pkgconfig"
23
24 RESTRICT="test" #315725
25
26 src_configure() {
27 econf \
28 $(use_enable static-libs static)
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install
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