wok-4.x view lsof/receipt @ rev 5898

Up: py3k-dev (3.1.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 23 15:58:03 2010 +0200 (2010-07-23)
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 }