wok-next annotate tinyproxy/receipt @ rev 17979

mtpaint: view external using GPicView, print image using Yad, view documentation online using TazWeb.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 18 17:02:44 2015 +0300 (2015-04-18)
parents df64154dacd6
children d43bf7aae921
rev   line source
slaxemulator@6982 1 # SliTaz package receipt.
slaxemulator@6982 2
slaxemulator@6982 3 PACKAGE="tinyproxy"
devl547@11299 4 VERSION="1.8.3"
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"
pascal@15590 8 LICENSE="GPL2"
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
pascal@15590 13 BUILD_DEPENDS="wget"
pascal@15590 14
slaxemulator@6982 15 # Rules to configure and make the package.
slaxemulator@6982 16 compile_rules()
slaxemulator@6982 17 {
slaxemulator@6982 18 cd $src
pascal@8974 19 patch -Np1 -i $stuff/no-docs-and-tests.diff
slaxemulator@6982 20 ./configure \
slaxemulator@6982 21 --prefix=/usr \
slaxemulator@6982 22 --infodir=/usr/share/info \
slaxemulator@6982 23 --mandir=/usr/share/man \
slaxemulator@6982 24 --sysconfdir=/etc/tinyproxy \
slaxemulator@6982 25 --localstatedir=/var \
slaxemulator@6982 26 $CONFIGURE_ARGS &&
slaxemulator@11309 27 make && make DESTDIR=$DESTDIR install
slaxemulator@6982 28 # Provide sane defaults
slaxemulator@11309 29 sed -i '/^#Listen/a\Listen 127.0.0.1' "$DESTDIR/etc/tinyproxy/tinyproxy.conf"
slaxemulator@6982 30
slaxemulator@6982 31 }
slaxemulator@6982 32
slaxemulator@6982 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6982 34 genpkg_rules()
slaxemulator@6982 35 {
slaxemulator@6982 36 mkdir -p $fs/usr/share $fs/etc/init.d
pascal@15590 37 cp -a $install/usr/sbin $fs/usr
pascal@15590 38 cp -a $install/usr/share/tinyproxy $fs/usr/share
pascal@15590 39 cp -a $install/etc/tinyproxy $fs/etc
pascal@8974 40 cp -a $stuff/tinyproxy $fs/etc/init.d
slaxemulator@6982 41 }
slaxemulator@6982 42