void-packages/srcpkgs/polipo/template

25 lines
836 B
Bash

# Template file for 'polipo'
pkgname=polipo
version=1.1.1
revision=6
short_desc="A small and fast caching web proxy"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2"
homepage="http://www.pps.jussieu.fr/~jch/software/polipo/"
distfiles="http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-${version}.tar.gz"
checksum=a259750793ab79c491d05fcee5a917faf7d9030fb5d15e05b3704e9c9e4ee015
do_build() {
make CFLAGS="$CFLAGS" ${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
vsv polipo
}