milis/talimatname/genel/lsof/talimat

21 lines
623 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Lsof paketi, belirli bir çalışan uygulama veya işlem için Açık Dosyaları Listelemek için kullanışlıdır.
# URL: ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
# Packager: milisarge
# Depends on:
name=lsof
version=4.89
release=1
source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$version.tar.bz2)
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
}