| 1 | # Description: list open files |
| 2 | # URL: http://people.freebsd.org/~abe/ |
| 3 | # Packager: sten, nick dot steeves at shaw dot ca |
| 4 | # Maintainer: Antti Nykanen, aon at iki dot fi |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | |
| 7 | name=lsof |
| 8 | version=4.83 |
| 9 | release=1 |
| 10 | source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$version.tar.bz2 \ |
| 11 | lsof-net.patch) |
| 12 | |
| 13 | build() { |
| 14 | cd lsof_${version} |
| 15 | tar -xf lsof_${version}_src.tar |
| 16 | cd lsof_${version}_src |
| 17 | yes "" | ./Configure linux |
| 18 | patch -p0 -i $SRC/lsof-net.patch |
| 19 | make CC="$CC" CFLAGS="$CFLAGS" |
| 20 | install -D -m 755 lsof $PKG/usr/sbin/lsof |
| 21 | install -D -m 644 lsof.8 $PKG/usr/man/man8/lsof.8 |
| 22 | } |