# Description: list open files # URL: https://github.com/lsof-org/lsof # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: sten, nick dot steeves at shaw dot ca name=lsof version=4.93.2 release=1 source=(https://github.com/lsof-org/lsof/archive/$version/$name-$version.tar.gz) build() { cd $name-$version 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/share/man/man8/lsof.8 }