wok annotate ez-ipupdate/receipt @ rev 25358

updated tinyproxy (1.10.0 -> 1.11.1)
author Hans-G?nter Theisgen
date Wed Jul 27 07:50:39 2022 +0100 (2022-07-27)
parents 8dd8bab3f0ca
children 6b33f9da53d4
rev   line source
pascal@2143 1 # SliTaz package receipt.
pascal@2143 2
pascal@2143 3 PACKAGE="ez-ipupdate"
pascal@2143 4 VERSION="3.0.11b7"
pascal@2143 5 CATEGORY="network"
pascal@2143 6 SHORT_DESC="Update your host name for some dynamic DNS services."
pascal@2143 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pascal@2143 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20672 10 WEB_SITE="https://web.archive.org/web/20120709060406/http://ez-ipupdate.com/"
pascal@2143 11 WGET_URL="${WEB_SITE}dist/$TARBALL"
jozee@4935 12 TAGS="DNS"
pascal@2143 13
pascal@24465 14 # What is the latest version available today?
pascal@24465 15 current_version()
pascal@24465 16 {
pascal@24465 17 wget -O - https://sourceforge.net/projects/ez-ipupdate/files/ez-ipupdate/ 2>/dev/null | \
pascal@24465 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
pascal@24465 19 sed '/scope="row/!d;s|.*/ez-ipupdate/||;s|/.*||;q'
pascal@24465 20 }
pascal@24465 21
pascal@2143 22 # Rules to configure and make the package.
pascal@2143 23 compile_rules()
pascal@2143 24 {
pascal@2143 25 cd $src
pascal@2143 26 grep -q errno.h conf_file.h || echo "#include <errno.h>" >> conf_file.h
pascal@2143 27 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2143 28 --enable-default-service=dyndns \
pascal@2143 29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2143 30 make &&
pascal@15579 31 make DESTDIR=$DESTDIR install
pascal@2143 32 }
pascal@2143 33
pascal@2143 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2143 35 genpkg_rules()
pascal@2143 36 {
pascal@15579 37 cp -a $install/usr $fs
pascal@2143 38 }
pascal@2143 39