wok-6.x view sic/receipt @ rev 25107

Up open-iscsi (2.0.873)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 17:23:49 2022 +0000 (2022-06-22)
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 }