wok-6.x view sic/receipt @ rev 25159
updated pv (1.6.6 -> 1.6.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 17:58:13 2022 +0100 (2022-06-30) |
parents | c5ddf763228a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sic"
4 VERSION="1.2"
5 CATEGORY="network"
6 SHORT_DESC="Simple IRC client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://tools.suckless.org/sic"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make clean &&
25 make install PREFIX=/usr DESTDIR=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }