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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Dec 21 22:26:22 2007 UTC (6 years, 7 months ago) by bangert
Branch: MAIN
version bump
(Portage version: 2.1.3.19)

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.1.1.ebuild,v 1.1 2007/08/21 06:40:13 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