mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #3960 from hbl0307106015/add-tree
packages: add tree new package
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# 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_RELEASE:=1
|
||||
PKG_VERSION:=1.7.0
|
||||
PKG_SOURCE_URL:=ftp://mama.indstate.edu/linux/tree/
|
||||
PKG_HASH:=6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
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
|
||||
|
||||
define Package/tree/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,tree))
|
||||
Reference in New Issue
Block a user