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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Oct 23 19:30:05 2008 UTC (9 years, 4 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
add ESI core dump fix - dont use default src_compile (thanks tommy)
(Portage version: 2.1.4.5)

1 bangert 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 bangert 1.2 # $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/varnish-2.0.1.ebuild,v 1.1 2008/10/22 18:13:50 bangert Exp $
4 bangert 1.1
5     inherit eutils
6    
7     DESCRIPTION="Varnish is an HTTP accelerator"
8     HOMEPAGE="http://varnish.projects.linpro.no/"
9     SRC_URI="mirror://sourceforge/varnish/${P}.tar.gz"
10    
11     LICENSE="BSD-2"
12     SLOT="0"
13     KEYWORDS="~x86"
14     IUSE=""
15     #varnish compiles stuff at run time
16     RDEPEND="sys-devel/gcc"
17    
18     src_compile() {
19     econf || die "econf failed"
20     emake || die "emake failed"
21     }
22    
23     src_install() {
24     emake DESTDIR="${D}" install || die "emake install failed"
25     newinitd "${FILESDIR}"/varnishd.initd varnishd || die
26     newconfd "${FILESDIR}"/varnishd.confd varnishd || die
27     }
28    
29     pkg_postinst () {
30     elog "No demo-/sample-configfile is included in the distribution -"
31     elog "please read the man-page for more info."
32     elog "A sample (localhost:8080 -> localhost:80) for gentoo is given in"
33     elog " /etc/conf.d/varnishd"
34     echo
35     }

  ViewVC Help
Powered by ViewVC 1.1.20