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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Feb 22 16:17:26 2007 UTC (7 years, 8 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
punt old version
(Portage version: 2.1.2-r9)

1 # Copyright 1999-2006 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.1.ebuild,v 1.2 2006/12/10 09:46:45 beu 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 einfo "No demo-/sample-configfile is included in the distribution -"
28 einfo "please read the man-page for more info."
29 einfo "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
30 einfo " /etc/conf.d/varnishd"
31 echo
32 }

  ViewVC Help
Powered by ViewVC 1.1.20