view net-proxy/squirm/squirm-1.26.ebuild @ 443:ab9e6592da92

update to EAPI 6 .. cannot test if it works because the dist is not downloadeable right now
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 22 May 2017 12:56:27 +0200
parents c6edd24e6dd4
children
line wrap: on
line source

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/squirm/squirm-1.26.ebuild,v 1.1 2009/06/20 13:15:30 mrness Exp $

EAPI="2"

inherit eutils

DESCRIPTION="A redirector for Squid"
HOMEPAGE="http://squirm.foote.com.au"
SRC_URI="http://squirm.foote.com.au/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""

src_prepare() {
	epatch "${FILESDIR}"/${P}-gentoo.patch
}

src_install() {
	emake PREFIX="${D}/opt/squirm" install || die "emake install failed"
}

pkg_postinst() {
	einfo "To enable squirm, add the following lines to /etc/squid/squid.conf:"
	einfo "    url_rewrite_program /opt/squirm/bin/squirm"
	einfo "    url_rewrite_children 10"
}