tree: add LICENSE and LICENSE files

Add license information and the upstream project URL.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
This commit is contained in:
Wei-Ting Yang
2025-12-26 20:41:41 +08:00
committed by Josef Schlehofer
parent 447b3cb493
commit 0a584ba826

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2017 OpenWrt.org
# Copyright (C) 2017-2025 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,13 +9,15 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tree
PKG_VERSION:=2.2.1
PKG_RELEASE:=1
PKG_RELEASE:=2
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:=5caddcbca805131ff590b126d3218019882e4ca10bc9eb490bba51c05b9b3b75
PKG_MAINTAINER:=Banglang Huang <banglang.huang@foxmail.com>
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
@@ -23,6 +25,7 @@ define Package/tree
SECTION:=utils
CATEGORY:=Utilities
TITLE:=List contents of directories in a tree-like format
URL:=https://oldmanprogrammer.net/source.php?dir=projects/tree
DEPENDS:=+libc +libgcc
endef