void-packages/srcpkgs/polipo/template

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-12-11 16:28:23 +01:00
# Template file for 'polipo'
pkgname=polipo
version=1.0.4.1
revision=2
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
long_desc="
Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy,
a proxy server). While Polipo was designed to be used by one person or a
small group of people, there is nothing that prevents it from being used
by a larger group."
systemd_services="polipo.service on"
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
}