wok-current view lsof/receipt @ rev 25449
BootProg/boot32.asm: floppy chs support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 12 16:35:46 2022 +0000 (23 months ago) |
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 }