wok-current view ez-ipupdate/receipt @ rev 25563

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