30 lines
812 B
Plaintext
30 lines
812 B
Plaintext
![]() |
# Description: Web caching proxy
|
||
|
# URL: http://www.pps.jussieu.fr/~jch/software/polipo/
|
||
|
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
|
||
|
|
||
|
name=polipo
|
||
|
version=1.1.1
|
||
|
release=1
|
||
|
source=(http://www.pps.univ-paris-diderot.fr/~jch/software/files/$name/$name-$version.tar.gz
|
||
|
rc.polipo
|
||
|
config.patch)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
|
||
|
patch -p0 -i $SRC/config.patch
|
||
|
|
||
|
make polipo \
|
||
|
CDEBUGFLAGS="$CFLAGS" \
|
||
|
PREFIX=/usr \
|
||
|
LOCAL_ROOT=/var/www/$name
|
||
|
|
||
|
install -d -o polipo -g polipo $PKG/var/cache/$name
|
||
|
|
||
|
install -Dm0755 $name $PKG/usr/bin/$name
|
||
|
install -Dm644 $name.man $PKG/usr/share/man/man1/$name.1
|
||
|
install -Dm0755 config.sample $PKG/etc/$name/config
|
||
|
install -Dm0755 $SRC/rc.$name $PKG/etc/rc.d/$name
|
||
|
install -Dm0644 localindex.html $PKG/var/www/$name/index.html
|
||
|
}
|