wok annotate scrollz/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents 7cba46a07853
children f3adabaf01f2
rev   line source
paul@16461 1 # SliTaz package receipt.
paul@16461 2
paul@16461 3 PACKAGE="scrollz"
Hans-G?nter@21892 4 VERSION="2.3"
paul@16461 5 CATEGORY="network"
Hans-G?nter@21892 6 SHORT_DESC="IRC client based on IRCII."
paul@16461 7 MAINTAINER="paul@slitaz.org"
pascal@16660 8 LICENSE="BSD"
pascal@21987 9 WEB_SITE="https://www.scrollz.info/"
Hans-G?nter@21892 10
Hans-G?nter@21892 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21892 12 WGET_URL="${WEB_SITE}download/ScrollZ-$VERSION.tar.gz"
paul@16461 13
paul@16461 14 DEPENDS=""
Hans-G?nter@21892 15 BUILD_DEPENDS="ncursesw-dev"
paul@16461 16
pascal@24427 17 # What is the latest version available today?
pascal@24427 18 current_version()
pascal@24427 19 {
pascal@24427 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24427 21 sed '/ScrollZ-/!d;/tar/!d;s|.*ScrollZ-\(.*\).tar.*|\1|' | sort -Vr | sed q
pascal@24427 22 }
pascal@24427 23
paul@16461 24 # Rules to configure and make the package.
paul@16461 25 compile_rules()
paul@16461 26 {
Hans-G?nter@21892 27 ./configure --prefix=/usr &&
Hans-G?nter@21892 28 make &&
Hans-G?nter@21892 29 make DESTDIR=$DESTDIR install
paul@16461 30 }
paul@16461 31
paul@16461 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16461 33 genpkg_rules()
paul@16461 34 {
paul@16461 35 cp -a $install/usr $fs
Hans-G?nter@21892 36
paul@16461 37 # remove stuff
paul@16461 38 rm -rf $fs/usr/share/man
paul@16461 39 }