wok view lsof/receipt @ rev 13581
Autofs: copy content to proper paths
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Nov 06 01:33:15 2012 -0200 (2012-11-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 }