28 lines
898 B
Text
28 lines
898 B
Text
# Template file for 'polipo'
|
|
pkgname=polipo
|
|
version=1.0.4.1
|
|
revision=3
|
|
systemd_services="polipo.service on"
|
|
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
|
|
}
|