Files
packages/utils/tree/Makefile
John Audia e8688e5c3f tree: bump to 2.1.3
Changelog: version 2.1.3 (07/09/2024)
  - Mostly a brown-paper bag release to fix the below regression and add a
    feature I forgot to add.
  - Fix regression in search() function that broke --fromfile (Florian Ernst)
    (caused by removing too much code while fixing premature sort for
    --fromfile)
  - Allow the -L option to accept its parameter immediately (with no space)
    instead of requiring it be the next option word. (Trevor Gross)

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-07-14 11:54:01 -07:00

39 lines
924 B
Makefile

#
# Copyright (C) 2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=tree
PKG_VERSION:=2.1.3
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/Old-Man-Programmer/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
PKG_HASH:=3ffe2c8bb21194b088ad1e723f0cf340dd434453c5ff9af6a38e0d47e0c2723b
PKG_MAINTAINER:=Banglang Huang <banglang.huang@foxmail.com>
include $(INCLUDE_DIR)/package.mk
define Package/tree
SECTION:=utils
CATEGORY:=Utilities
TITLE:=List contents of directories in a tree-like format
DEPENDS:=+libc +libgcc
endef
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)"
define Package/tree/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,tree))