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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Thu Oct 23 19:34:24 2008 UTC (10 years, 1 month ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.1.4.5)

1 bangert 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 bangert 1.4 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-1.0.4.ebuild,v 1.3 2007/12/21 22:39:22 bangert Exp $
4 bangert 1.1
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 bangert 1.3 newinitd "${FILESDIR}"/varnishd.initd varnishd || die
23     newconfd "${FILESDIR}"/varnishd.confd varnishd || die
24 bangert 1.1 }
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