0
0
mirror of https://github.com/openwrt/packages.git synced 2025-10-24 06:44:14 +00:00
Files
packages/utils/lsof/Makefile
Ulrich Stark 6b27cc5170 lsof: fix compilation issue with "libtirpc"
adding --without-libtirpc to CONFIGURE_ARGS + version bump. Ref.: https://github.com/openwrt/packages/issues/27357

Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de>
2025-08-30 10:35:18 +03:00

43 lines
1.0 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=lsof
PKG_VERSION:=4.99.5
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/lsof-org/lsof/releases/download/$(PKG_VERSION)
PKG_HASH:=4682c2491ec8b3d62f84e135afc1d9ead1bad5f034b50716f0c3826a4ee7d229
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=lsof
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:lsof_project:lsof
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
DISABLE_NLS:=
define Package/lsof
SECTION:=utils
CATEGORY:=Utilities
TITLE:=LiSt Open Files - a diagnostic tool
URL:=http://people.freebsd.org/~abe/
endef
CONFIGURE_ARGS += --without-selinux --without-libtirpc
define Package/lsof/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lsof $(1)/usr/bin
endef
$(eval $(call BuildPackage,lsof))