wok-current view lsof/receipt @ rev 5350
Up: zlib (1.2.5) - Fixed WGET_URL
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 11:49:21 2010 +0000 (2010-04-28) |
parents | |
children | 9493adae21ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="lsof"
4 VERSION="4.81"
5 CATEGORY="system-tools"
6 SHORT_DESC="list open files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE.tar.bz2"
9 WEB_SITE="http://people.freebsd.org/~abe/"
10 WGET_URL="ftp://lsof.itap.purdue.edu/pub/tools/unix/$PACKAGE/$TARBALL"
11 #ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.bz2
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv ${PACKAGE}_${VERSION} $src 2> /dev/null
17 cd $src
18 if [ ! -d ${PACKAGE}_${VERSION}_src ]; then
19 tar xf ${PACKAGE}_${VERSION}_src.tar
20 fi
21 cd ${PACKAGE}_${VERSION}_src
22 yes '' | ./Configure linux &&
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin
31 }