blob: 5a7a5afa1b46906b43a37798f1edb569646f9bab (
plain)
1 # Description: list open files
2 # URL: http://people.freebsd.org/~abe/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: sten, nick dot steeves at shaw dot ca
5
6 name=lsof
7 version=4.88
8 release=1
9 source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$version.tar.bz2)
10
11 build() {
12 cd lsof_${version}
13 tar -xf lsof_${version}_src.tar
14 cd lsof_${version}_src
15 yes "" | ./Configure linux
16 sed -i -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile
17 make
18 install -D -m 755 lsof $PKG/usr/sbin/lsof
19 install -D -m 644 lsof.8 $PKG/usr/man/man8/lsof.8
20 }
|