2012-12-11 16:28:23 +01:00
|
|
|
# Template file for 'polipo'
|
|
|
|
pkgname=polipo
|
|
|
|
version=1.0.4.1
|
2014-02-17 17:54:26 +01:00
|
|
|
revision=3
|
2014-01-01 16:10:11 +01:00
|
|
|
systemd_services="polipo.service on"
|
2012-12-11 16:28:23 +01:00
|
|
|
short_desc="A small and fast caching web proxy"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.pps.jussieu.fr/~jch/software/polipo/"
|
|
|
|
distfiles="http://freehaven.net/~chrisd/polipo/polipo-${version}.tar.gz"
|
|
|
|
checksum=8d6fbfdec600d42823e483b0143704c6f179c349803028a4d2cef056b79f7cfa
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make PREFIX=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man \
|
|
|
|
INFODIR=${DESTDIR}/usr/share/info \
|
|
|
|
LOCAL_ROOT=${DESTDIR}/usr/share/polipo/www \
|
|
|
|
DISK_CACHE_ROOT=${DESTDIR}/var/cache/polipo install
|
|
|
|
|
|
|
|
# install sample config files
|
|
|
|
vinstall config.sample 644 usr/share/examples/polipo
|
|
|
|
vinstall forbidden.sample 644 usr/share/examples/polipo
|
|
|
|
# systemd service
|
|
|
|
vinstall ${FILESDIR}/polipo.service 644 usr/lib/systemd/system
|
|
|
|
}
|