wok annotate tinyproxy/receipt @ rev 8883

Add: htmldoc 1.8.27
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 27 03:53:25 2011 +0100 (2011-02-27)
parents 156441c8051a
children 940b5937e496
rev   line source
slaxemulator@6982 1 # SliTaz package receipt.
slaxemulator@6982 2
slaxemulator@6982 3 PACKAGE="tinyproxy"
slaxemulator@6982 4 VERSION="1.8.2"
slaxemulator@6982 5 CATEGORY="network"
slaxemulator@6982 6 SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems."
slaxemulator@6982 7 MAINTAINER="slaxemulator@gmail.com"
gokhlayeh@8580 8 BUILD_DEPENDS="wget"
slaxemulator@6982 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@6982 10 WEB_SITE="https://banu.com/tinyproxy/"
gokhlayeh@8580 11 WGET_URL="https://banu.com/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@6982 12
slaxemulator@6982 13 # Rules to configure and make the package.
slaxemulator@6982 14 compile_rules()
slaxemulator@6982 15 {
slaxemulator@6982 16 cd $src
slaxemulator@6982 17 patch -Np1 -i ../stuff/no-docs-and-tests.diff
slaxemulator@6982 18 ./configure \
slaxemulator@6982 19 --prefix=/usr \
slaxemulator@6982 20 --infodir=/usr/share/info \
slaxemulator@6982 21 --mandir=/usr/share/man \
slaxemulator@6982 22 --sysconfdir=/etc/tinyproxy \
slaxemulator@6982 23 --localstatedir=/var \
slaxemulator@6982 24 $CONFIGURE_ARGS &&
slaxemulator@6982 25 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6982 26 # Provide sane defaults
slaxemulator@6982 27 sed -i '/^#Listen/a\Listen 127.0.0.1' "$PWD/_pkg/etc/tinyproxy/tinyproxy.conf"
slaxemulator@6982 28
slaxemulator@6982 29 }
slaxemulator@6982 30
slaxemulator@6982 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6982 32 genpkg_rules()
slaxemulator@6982 33 {
slaxemulator@6982 34 mkdir -p $fs/usr/share $fs/etc/init.d
slaxemulator@6982 35 cp -a $_pkg/usr/sbin $fs/usr
slaxemulator@6982 36 cp -a $_pkg/usr/share/tinyproxy $fs/usr/share
slaxemulator@6982 37 cp -a $_pkg/etc/tinyproxy $fs/etc
slaxemulator@6982 38 cp -a stuff/tinyproxy $fs/etc/init.d
slaxemulator@6982 39 }
slaxemulator@6982 40