wok-next annotate lsof/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | bbddbb716008 |
children | f48456621a9d |
rev | line source |
---|---|
al@20624 | 1 # SliTaz package receipt v2. |
pascal@2444 | 2 |
pascal@2444 | 3 PACKAGE="lsof" |
al@20624 | 4 VERSION="4.91" |
pascal@2444 | 5 CATEGORY="system-tools" |
al@20624 | 6 SHORT_DESC="Lists open files for running Unix processes" |
pascal@2444 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
al@20624 | 9 WEB_SITE="https://people.freebsd.org/~abe/" |
al@20659 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/lsof.html" |
al@20624 | 11 |
pascal@5786 | 12 TARBALL="${PACKAGE}_$VERSION.tar.bz2" |
al@20624 | 13 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/$TARBALL" |
pascal@2444 | 14 |
al@20624 | 15 BUILD_DEPENDS="perl" |
al@20624 | 16 |
al@20624 | 17 compile_rules() { |
al@20624 | 18 tar xf ${PACKAGE}_${VERSION}_src.tar |
pascal@2444 | 19 cd ${PACKAGE}_${VERSION}_src |
al@20624 | 20 |
pascal@2444 | 21 yes '' | ./Configure linux && |
al@20624 | 22 make -j1 || return 1 |
al@20624 | 23 |
al@20624 | 24 install -Dm755 $src/${PACKAGE}_${VERSION}_src/lsof $install/usr/bin/lsof |
al@20624 | 25 cook_pick_manpages $src/${PACKAGE}_${VERSION}_src/lsof.8 |
pascal@2444 | 26 } |
pascal@2444 | 27 |
al@20624 | 28 genpkg_rules() { |
al@20624 | 29 copy @std |
pascal@2444 | 30 } |