wok view lsof/receipt @ rev 9685

udev: needs $stuff.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 06 21:34:17 2011 +0000 (2011-05-06)
parents 9493adae21ec
children 6c3718ca17b6
line source
1 # SliTaz package receipt.
3 PACKAGE="lsof"
4 VERSION="4.84"
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 }