IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=4.68 PROGNAME="lsof $VERSION" DESC="\ lsof (list open files) \n\ \n\ Lsof is a Unix-specific tool. Its name stands for "LiSt Open Files", \n\ and it does just that. It lists information about files that are open \n\ by the processes running on the system. \n\ \n\ Victor A. Abell of Purdue University is the developer of lsof." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ PKGNAME=lsof-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/lsof_$VERSION.tar.bz2 cd lsof_$VERSION/ tar -xvf lsof_${VERSION}_src.tar cd lsof_${VERSION}_src echo n | ./Configure linux make } install() { mkdir -p /package-lsof/usr/bin cp -p lsof /package-lsof/usr/bin/lsof mkdir -p /package-lsof/usr/man/man8 cat lsof.8 | gzip -9c > /package-lsof/usr/man/man8/lsof.8.gz mkdir -p /package-lsof/usr/doc/lsof-$VERSION cp -a 00* /package-lsof/usr/doc/lsof-$VERSION } attributes() { # No, NOT suid. chmod 755 $PKG/package-lsof/usr/bin/lsof chown -R root.bin $PKG/package-lsof/usr/bin } special() { cd $PKG mv package-lsof/* ./ rmdir package-lsof cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-lsof/%%' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }