wok view lsof/receipt @ rev 5786
Up lsof (4.83)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 10:01:38 2010 +0200 (2010-07-11) |
parents | 09854352494e |
children | 95882644e965 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lsof"
4 VERSION="4.83"
5 CATEGORY="system-tools"
6 SHORT_DESC="list open files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="${PACKAGE}_$VERSION.tar.bz2"
9 WEB_SITE="http://people.freebsd.org/~abe/"
10 WGET_URL="ftp://lsof.itap.purdue.edu/pub/tools/unix/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 mv ${PACKAGE}_${VERSION} $src 2> /dev/null
16 cd $src
17 if [ ! -d ${PACKAGE}_${VERSION}_src ]; then
18 tar xf ${PACKAGE}_${VERSION}_src.tar
19 fi
20 cd ${PACKAGE}_${VERSION}_src
21 yes '' | ./Configure linux &&
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin
30 }