2 # Copyright (C) 2017 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE_URL
:=ftp
://mama.indstate.edu
/linux
/tree
/
14 PKG_HASH
:=6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
17 PKG_MAINTAINER
:=Banglang Huang
<banglang.huang@foxmail.com
>
19 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=List contents of directories in a tree-like format
25 DEPENDS
:=+libc
+libgcc
28 define Package
/tree
/install
29 $(INSTALL_DIR
) $(1)/usr
/sbin
30 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tree
$(1)/usr
/sbin
/
33 $(eval
$(call BuildPackage
,tree
))