makedepends=(libtirpc)

description="Useful to List Open Files for a given running application or process."
url="http://ftp.u-strasbg.fr/securite"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=lsof
version=4.99.5

source=(https://github.com/lsof-org/lsof/archive/${version}/${name}-${version}.tar.gz)

build () {
  cd $name-$version

  autoreconf -fiv

  ./configure --prefix=/usr --libdir=/usr/lib --enable-security --enable-no-sock-security --with-libtirpc

  make

  make DESTDIR=$PKG install
}
