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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jun 11 22:59:25 2007 UTC (7 years, 2 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove old version - init script creates a pidfile
(Portage version: 2.1.2.7)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-1.0.3.ebuild,v 1.2 2007/02/22 16:10:56 bangert Exp $
4
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
15 src_compile() {
16 econf || die "econf failed"
17 emake || die "emake failed"
18 }
19
20 src_install() {
21 emake DESTDIR="${D}" install || die "emake install failed"
22 newinitd ${FILESDIR}/varnishd.initd varnishd || die
23 newconfd ${FILESDIR}/varnishd.confd varnishd || die
24 }
25
26 pkg_postinst () {
27 elog "No demo-/sample-configfile is included in the distribution -"
28 elog "please read the man-page for more info."
29 elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
30 elog " /etc/conf.d/varnishd"
31 echo
32 }

  ViewVC Help
Powered by ViewVC 1.1.20