wok diff tinyproxy/receipt @ rev 25438
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 11:12:31 2022 +0000 (2022-09-01) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
line diff
1.1 --- a/tinyproxy/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/tinyproxy/receipt Thu Sep 01 11:12:31 2022 +0000 1.3 @@ -1,16 +1,17 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tinyproxy" 1.7 -VERSION="1.10.0" 1.8 +VERSION="1.11.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems." 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://tinyproxy.github.io/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="https://tinyproxy.github.io/" 1.17 WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz" 1.18 1.19 -BUILD_DEPENDS="wget automake" 1.20 +BUILD_DEPENDS="automake" 1.21 1.22 current_version() 1.23 { 1.24 @@ -22,25 +23,34 @@ 1.25 compile_rules() 1.26 { 1.27 sed -i '/docs/d;/tests$/d;s|m4macros \\|m4macros|' Makefile.* 1.28 - ./autogen.sh 1.29 - ./configure \ 1.30 - --prefix=/usr \ 1.31 - --infodir=/usr/share/info \ 1.32 - --mandir=/usr/share/man \ 1.33 - --sysconfdir=/etc \ 1.34 - --localstatedir=/var \ 1.35 + 1.36 + export LDFLAGS="$LDFLAGS -lrt" 1.37 + 1.38 + ./autogen.sh && 1.39 + ./configure \ 1.40 + --prefix=/usr \ 1.41 + --infodir=/usr/share/info \ 1.42 + --mandir=/usr/share/man \ 1.43 + --sysconfdir=/etc \ 1.44 + --localstatedir=/var \ 1.45 $CONFIGURE_ARGS && 1.46 - make && make DESTDIR=$DESTDIR install 1.47 + make && 1.48 + make install DESTDIR=$DESTDIR 1.49 + 1.50 # Provide sane defaults 1.51 - sed -i '/^#Listen/a\Listen 127.0.0.1' "$DESTDIR/etc/tinyproxy/tinyproxy.conf" 1.52 + sed -i -e '/^#Listen/a\Listen 127.0.0.1' \ 1.53 + -e 's|#PidFile "/var/run/tinyproxy/tinyproxy.pid"|PidFile "/var/run/tinyproxy.pid"|' \ 1.54 + "$DESTDIR/etc/tinyproxy/tinyproxy.conf" 1.55 } 1.56 1.57 # Rules to gen a SliTaz package suitable for Tazpkg. 1.58 genpkg_rules() 1.59 { 1.60 - mkdir -p $fs/usr/share $fs/etc/init.d 1.61 - cp -a $install/usr/bin $fs/usr 1.62 - cp -a $install/usr/share/tinyproxy $fs/usr/share 1.63 - cp -a $install/etc/tinyproxy $fs/etc 1.64 - cp -a $stuff/tinyproxy $fs/etc/init.d 1.65 + mkdir -p $fs/usr/share 1.66 + mkdir -p $fs/etc/init.d 1.67 + 1.68 + cp -a $install/usr/bin $fs/usr 1.69 + cp -a $install/usr/share/tinyproxy $fs/usr/share 1.70 + cp -a $install/etc/tinyproxy $fs/etc 1.71 + cp -a $stuff/tinyproxy $fs/etc/init.d 1.72 }