wok-current view ii/receipt @ rev 24661
updated ii (1.6 -> 1.9)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 13:28:05 2022 +0100 (2022-03-11) |
parents | af8d823a3077 |
children | 36e4c2e537d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ii"
4 VERSION="1.9"
5 CATEGORY="network"
6 SHORT_DESC="Minimalist IRC client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://tools.suckless.org/ii/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|/usr/local|/usr|' config.mk
24 make clean &&
25 make install DESTDIR=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cook_copy_folders bin
32 }