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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Dec 21 22:39:22 2007 UTC (6 years, 7 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old version - fix quoting
(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.ebuild,v 1.1 2007/08/02 23:42:54 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_unpack() {
16 unpack ${A}
17 cd "${S}"
18
19 epatch "${FILESDIR}/varnish-1.1-build-DESTDIR.patch"
20 }
21
22 src_compile() {
23 econf || die "econf failed"
24 emake || die "emake failed"
25 }
26
27 src_install() {
28 emake DESTDIR="${D}" install || die "emake install failed"
29 newinitd ${FILESDIR}/varnishd.initd varnishd || die
30 newconfd ${FILESDIR}/varnishd.confd varnishd || die
31 }
32
33 pkg_postinst () {
34 elog "No demo-/sample-configfile is included in the distribution -"
35 elog "please read the man-page for more info."
36 elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
37 elog " /etc/conf.d/varnishd"
38 echo
39 }

  ViewVC Help
Powered by ViewVC 1.1.20