wok annotate lsof/receipt @ rev 21488
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 15:49:51 2019 +0200 (2019-05-01) |
parents | a78610b2eb47 |
children | e6a4cd87fdcb |
rev | line source |
---|---|
pascal@2444 | 1 # SliTaz package receipt. |
pascal@2444 | 2 |
pascal@2444 | 3 PACKAGE="lsof" |
Hans-G?nter@21379 | 4 VERSION="4.91" |
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@21379 | 9 WEB_SITE="https://people.freebsd.org/~abe/" |
Hans-G?nter@21379 | 10 |
pascal@5786 | 11 TARBALL="${PACKAGE}_$VERSION.tar.bz2" |
Hans-G?nter@21379 | 12 WGET_URL="https://fossies.org/linux/misc/$TARBALL" |
pascal@2444 | 13 |
pascal@2444 | 14 # Rules to configure and make the package. |
pascal@2444 | 15 compile_rules() |
pascal@2444 | 16 { |
pascal@2444 | 17 mv ${PACKAGE}_${VERSION} $src 2> /dev/null |
pascal@2444 | 18 cd $src |
pascal@2444 | 19 if [ ! -d ${PACKAGE}_${VERSION}_src ]; then |
pascal@2444 | 20 tar xf ${PACKAGE}_${VERSION}_src.tar |
pascal@2444 | 21 fi |
pascal@2444 | 22 cd ${PACKAGE}_${VERSION}_src |
pascal@2444 | 23 yes '' | ./Configure linux && |
pascal@2444 | 24 make |
pascal@2444 | 25 } |
pascal@2444 | 26 |
pascal@2444 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2444 | 28 genpkg_rules() |
pascal@2444 | 29 { |
pascal@2444 | 30 mkdir -p $fs/usr/bin |
pascal@2444 | 31 cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin |
pascal@2444 | 32 } |