wok-current view scrollz/receipt @ rev 24465

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