void-packages/srcpkgs/polipo/template
Jürgen Buchmüller 002b42e7f0 polipo: needs texinfo in hostmakedepends
Also fix xlint and the license which is MIT style.
2020-05-12 22:42:57 +02:00

27 lines
876 B
Bash

# Template file for 'polipo'
pkgname=polipo
version=1.1.1
revision=6
hostmakedepends="texinfo"
short_desc="Small and fast caching web proxy"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
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
vlicense COPYING
}