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