wok-current view lsof/receipt @ rev 25411

updated winetricks (20200412 -> 20220411)
author Hans-G?nter Theisgen
date Thu Aug 04 07:24:24 2022 +0100 (2022-08-04)
parents 5ea0ce1cecc0
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 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # if [ ! -d ${PACKAGE}_${VERSION}_src ]; then
24 # tar xf ${PACKAGE}_${VERSION}_src.tar
25 # fi
26 # cd ${PACKAGE}_${VERSION}_src
28 yes '' | ./Configure linux &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp $src/lsof $fs/usr/bin
37 }