1SUMMARY = "LiSt Open Files tool"
2DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \
3Its name stands for LiSt Open Files, and it does just that."
4HOMEPAGE = "http://people.freebsd.org/~abe/"
5SECTION = "devel"
6LICENSE = "Spencer-94"
7LIC_FILES_CHKSUM = "file://COPYING;md5=a48ac97a8550eff12395a2c0d6151510"
8
9SRC_URI = "git://github.com/lsof-org/lsof;branch=master;protocol=https \
10           file://remove-host-information.patch"
11SRCREV = "2e4c7a1a9bc7258dc5b6a3ab28ebca44174279a8"
12
13S = "${WORKDIR}/git"
14
15inherit update-alternatives autotools pkgconfig manpages
16PACKAGECONFIG[manpages] = ""
17
18DEPENDS += "groff-native"
19
20ALTERNATIVE:${PN} = "lsof"
21ALTERNATIVE_LINK_NAME[lsof] = "${bindir}/lsof"
22# Make our priority higher than busybox
23ALTERNATIVE_PRIORITY = "100"
24