milis/talimatname/genel/lsof/talimat

21 lines
600 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
# Description: The lsof package is useful to List Open Files for a given running application or process.
2016-12-18 18:46:48 +01:00
# URL: ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
# Packager: milisarge
# Depends on:
2016-02-24 01:27:23 +01:00
name=lsof
version=4.89
release=1
2016-12-18 18:46:48 +01:00
source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$version.tar.bz2)
2016-02-24 01:27:23 +01:00
2016-12-18 18:46:48 +01:00
build() {
cd lsof_${version}
tar -xf lsof_${version}_src.tar
cd lsof_${version}_src
yes "" | ./Configure linux
sed -i -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile
make
install -D -m 755 lsof $PKG/usr/sbin/lsof
install -D -m 644 lsof.8 $PKG/usr/man/man8/lsof.8
2016-02-24 01:27:23 +01:00
}