wok-6.x annotate tinyproxy/receipt @ rev 23635
updated scummvm (2.0.0 -> 2.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 07:41:02 2020 +0100 (2020-04-20) |
parents | 8b9f768b711e |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@6982 | 1 # SliTaz package receipt. |
slaxemulator@6982 | 2 |
slaxemulator@6982 | 3 PACKAGE="tinyproxy" |
pascal@21754 | 4 VERSION="1.10.0" |
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" |
pascal@21755 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21754 | 10 WEB_SITE="https://tinyproxy.github.io/" |
pascal@21754 | 11 WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz" |
slaxemulator@6982 | 12 |
pascal@21755 | 13 BUILD_DEPENDS="wget automake" |
pascal@15590 | 14 |
slaxemulator@6982 | 15 # Rules to configure and make the package. |
slaxemulator@6982 | 16 compile_rules() |
slaxemulator@6982 | 17 { |
pascal@21755 | 18 sed -i '/docs/d;/tests$/d;s|m4macros \\|m4macros|' Makefile.* |
pascal@21755 | 19 ./autogen.sh |
slaxemulator@6982 | 20 ./configure \ |
slaxemulator@6982 | 21 --prefix=/usr \ |
slaxemulator@6982 | 22 --infodir=/usr/share/info \ |
slaxemulator@6982 | 23 --mandir=/usr/share/man \ |
pascal@21755 | 24 --sysconfdir=/etc \ |
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 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6982 | 33 genpkg_rules() |
slaxemulator@6982 | 34 { |
slaxemulator@6982 | 35 mkdir -p $fs/usr/share $fs/etc/init.d |
pascal@21755 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15590 | 37 cp -a $install/usr/share/tinyproxy $fs/usr/share |
pascal@15590 | 38 cp -a $install/etc/tinyproxy $fs/etc |
pascal@8974 | 39 cp -a $stuff/tinyproxy $fs/etc/init.d |
slaxemulator@6982 | 40 } |