annotate net-proxy/squirm/squirm-1.26.ebuild @ 239:a588f50b1e1d

exaile-0.3.2.0 ebuild is in portage but the 0.3.1.1 that I have install is removed :-(
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 18 Aug 2010 15:46:29 +0200
parents c6edd24e6dd4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
210
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
1 # Copyright 1999-2009 Gentoo Foundation
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
3 # $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.26.ebuild,v 1.1 2009/06/20 13:15:30 mrness Exp $
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
4
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
5 EAPI="2"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
6
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
7 inherit eutils
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
8
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
9 DESCRIPTION="A redirector for Squid"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
10 HOMEPAGE="http://squirm.foote.com.au"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
11 SRC_URI="http://squirm.foote.com.au/${P}.tgz"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
12
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
13 LICENSE="GPL-2"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
14 SLOT="0"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
15 KEYWORDS="~ppc ~x86"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
16 IUSE=""
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
17
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
18 src_prepare() {
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
19 epatch "${FILESDIR}"/${P}-gentoo.patch
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
20 }
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
21
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
22 src_install() {
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
23 emake PREFIX="${D}/opt/squirm" install || die "emake install failed"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
24 }
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
25
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
26 pkg_postinst() {
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
27 einfo "To enable squirm, add the following lines to /etc/squid/squid.conf:"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
28 einfo " url_rewrite_program /opt/squirm/bin/squirm"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
29 einfo " url_rewrite_children 10"
c6edd24e6dd4 import squirm from portage
holger
parents:
diff changeset
30 }