wok annotate ddclient/receipt @ rev 24280
updated redis (5.0.8 -> 6.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 10 17:09:47 2022 +0100 (2022-01-10) |
parents | e3c504384cac |
children | fe1b5660fdd1 |
rev | line source |
---|---|
pascal@4563 | 1 # SliTaz package receipt. |
pascal@4563 | 2 |
pascal@4563 | 3 PACKAGE="ddclient" |
Hans-G?nter@22730 | 4 VERSION="3.9.1" |
pascal@4563 | 5 CATEGORY="network" |
Hans-G?nter@20817 | 6 TAGS="DNS" |
pascal@4563 | 7 SHORT_DESC="Dynamic DNS update tool." |
pascal@4563 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL2" |
Hans-G?nter@22730 | 10 WEB_SITE="https://github.com/ddclient/ddclient/" |
Hans-G?nter@20817 | 11 |
pascal@4563 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22730 | 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@22730 | 14 |
Hans-G?nter@22730 | 15 DEPENDS="perl" |
Hans-G?nter@20817 | 16 |
pascal@4563 | 17 CONFIG_FILES="/etc/ddclient" |
pascal@4563 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pascal@4563 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4563 | 26 genpkg_rules() |
pascal@4563 | 27 { |
Hans-G?nter@22730 | 28 mkdir -p $fs/usr/sbin |
Hans-G?nter@22730 | 29 mkdir -p $fs/etc/ddclient |
Hans-G?nter@22730 | 30 mkdir -p $fs/var/cache/ddclient |
Hans-G?nter@22730 | 31 mkdir -p $fs/etc/init.d |
Hans-G?nter@22730 | 32 |
Hans-G?nter@22730 | 33 cp $src/ddclient $fs/usr/sbin |
Hans-G?nter@22730 | 34 cp $src/sample-etc_ddclient.conf $fs/etc/ddclient/ddclient.conf |
Hans-G?nter@22730 | 35 cp $stuff/ddclient $fs/etc/init.d |
pascal@4563 | 36 } |