wok-6.x annotate lsof/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 | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@2444 | 1 # SliTaz package receipt. |
pascal@2444 | 2 |
pascal@2444 | 3 PACKAGE="lsof" |
Hans-G?nter@24864 | 4 VERSION="4.94.0" |
pascal@2444 | 5 CATEGORY="system-tools" |
Hans-G?nter@21379 | 6 SHORT_DESC="List open files." |
pascal@2444 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
Hans-G?nter@23143 | 9 WEB_SITE="https://github.com/lsof-org/lsof/" |
Hans-G?nter@21379 | 10 |
Hans-G?nter@23143 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23143 | 12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz" |
pascal@2444 | 13 |
pascal@24055 | 14 current_version() |
pascal@24055 | 15 { |
pascal@24055 | 16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 17 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 18 } |
pascal@24055 | 19 |
pascal@2444 | 20 # Rules to configure and make the package. |
pascal@2444 | 21 compile_rules() |
pascal@2444 | 22 { |
Hans-G?nter@23143 | 23 # if [ ! -d ${PACKAGE}_${VERSION}_src ]; then |
Hans-G?nter@23143 | 24 # tar xf ${PACKAGE}_${VERSION}_src.tar |
Hans-G?nter@23143 | 25 # fi |
Hans-G?nter@23143 | 26 # cd ${PACKAGE}_${VERSION}_src |
Hans-G?nter@23143 | 27 |
pascal@2444 | 28 yes '' | ./Configure linux && |
Hans-G?nter@24864 | 29 make |
pascal@2444 | 30 } |
pascal@2444 | 31 |
pascal@2444 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2444 | 33 genpkg_rules() |
pascal@2444 | 34 { |
pascal@2444 | 35 mkdir -p $fs/usr/bin |
Hans-G?nter@23143 | 36 cp $src/lsof $fs/usr/bin |
pascal@2444 | 37 } |