/[gentoo-x86]/net-proxy/squirm/squirm-1.26-r1.ebuild
Gentoo

Contents of /net-proxy/squirm/squirm-1.26-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Dec 17 09:32:16 2012 UTC (7 years, 7 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for ppc, wrt bug #441496

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.26-r1.ebuild,v 1.2 2012/12/17 09:31:54 ago Exp $
4
5 EAPI="5"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="A redirector for Squid"
10 HOMEPAGE="http://squirm.foote.com.au"
11 SRC_URI="http://squirm.foote.com.au/${P}.tgz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ppc x86"
16 IUSE=""
17
18 RDEPEND="net-proxy/squid"
19
20 src_prepare() {
21 epatch "${FILESDIR}"/${P}-gentoo.patch
22 }
23
24 src_compile() {
25 emake CC="$(tc-getCC)" LDOPTS="${LDFLAGS}"
26 }
27
28 src_install() {
29 emake PREFIX="${ED}/opt/squirm" install
30 }
31
32 pkg_postinst() {
33 einfo "To enable squirm, add the following lines to /etc/squid/squid.conf:"
34 einfo " url_rewrite_program /opt/squirm/bin/squirm"
35 einfo " url_rewrite_children 10"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20