wok-4.x view tinyproxy/receipt @ rev 11448

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