# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Polipo - a caching web proxy" HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/polipo/" SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/polipo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" src_unpack() { unpack ${A} cd ${S} } src_compile() { einfo "Patching Makefile" patch -pi -i ${FILESDIR}/${P}.diff Makefile einfo "Compiling source" make all || die "compile problem" } src_install() { einfo "Installing Polipo" make install || die "install failed" exeinto /etc/init.d ; newexe ${FILESDIR}/polipo.initd polipo insinto /etc/conf.d ; newins ${FILESDIR}/polipo.confd polipo einfo "Do not forget to read the manual." einfo "Change the config file in /etc/conf.d to suid your needs." }