wok-current view lsof/receipt @ rev 6380

Up: libmpd, libmpd-dev to 0.20.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 21 14:10:36 2010 +0000 (2010-09-21)
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 }