CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
npkg: fixed source line
[attic/ports/opt-cross.git] / lsof / Pkgfile
CommitLineData
5722ed38
VM
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
38b50d66 5# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5722ed38
VM
6
7name=lsof
8version=4.83
9release=1
10source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$version.tar.bz2 \
11 lsof-net.patch)
12
13build() {
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}