wok view lsof/receipt @ rev 25773
cookutils: fix svg compressor
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 13 16:25:52 2024 +0000 (2 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 }