- drop the patches that don't apply anymore - update build commads Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
39 lines
982 B
Makefile
39 lines
982 B
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.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/lsof-org/lsof/releases/download/$(PKG_VERSION)
|
|
PKG_HASH:=180e6284aff184d94d273e34f7264edc2af849c07b1c5d6a4183d4d402734245
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
|
|
PKG_LICENSE:=Unique
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/lsof
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libtirpc
|
|
TITLE:=LiSt Open Files - a diagnostic tool
|
|
URL:=http://people.freebsd.org/~abe/
|
|
endef
|
|
|
|
CONFIGURE_ARGS += --without-selinux
|
|
|
|
define Package/lsof/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lsof $(1)/usr/bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,lsof))
|