wok view lsof/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (10 months ago)
parents 3c68bcd9c4a4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lsof"
4 VERSION="4.94.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="List open files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/lsof-org/lsof/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # if [ ! -d ${PACKAGE}_${VERSION}_src ]; then
25 # tar xf ${PACKAGE}_${VERSION}_src.tar
26 # fi
27 # cd ${PACKAGE}_${VERSION}_src
29 yes '' | ./Configure linux &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp $src/lsof $fs/usr/bin
38 }