lsof: fix footprint; cosmetic Pkgfile fixes
This commit is contained in:
parent
1d754d575d
commit
8293a18dc8
@ -1,6 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rwxr-xr-x root/root usr/man/man8/lsof.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/lsof.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/lsof
|
||||
|
16
lsof/Pkgfile
16
lsof/Pkgfile
@ -1,20 +1,20 @@
|
||||
# Description: list open files
|
||||
# URL: http://freshmeat.net/projects/lsof/
|
||||
# Maintainer:
|
||||
# Packager: Martin Opel, mo at obbl-net dot de
|
||||
# Maintainer: sten, nick dot steeves at shaw dot ca
|
||||
# Packager:
|
||||
|
||||
name=lsof
|
||||
version=4.76
|
||||
release=1
|
||||
release=2
|
||||
source=(http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/lsof_$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd ${name}_${version}
|
||||
tar xf ${name}_${version}_src.tar
|
||||
cd ${name}_${version}_src
|
||||
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 lsof $PKG/usr/sbin/lsof
|
||||
install -D lsof.8 $PKG/usr/man/man8/lsof.8
|
||||
install -D -m 755 lsof $PKG/usr/sbin/lsof
|
||||
install -D -m 644 lsof.8 $PKG/usr/man/man8/lsof.8
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user