/[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.3 - (hide annotations) (download)
Tue Jan 27 19:52:24 2009 UTC (5 years, 6 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20