Makefile (799B)
1 # 2 # Copyright (C) 2017 OpenWrt.org 3 # 4 # This is free software, licensed under the GNU General Public License v2. 5 # See /LICENSE for more information. 6 # 7 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=tree 11 PKG_RELEASE:=1 12 PKG_VERSION:=1.7.0 13 PKG_SOURCE_URL:=ftp://mama.indstate.edu/linux/tree/ 14 PKG_HASH:=6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12 15 16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz 17 PKG_MAINTAINER:=Banglang Huang <banglang.huang@foxmail.com> 18 19 include $(INCLUDE_DIR)/package.mk 20 21 define Package/tree 22 SECTION:=utils 23 CATEGORY:=Utilities 24 TITLE:=List contents of directories in a tree-like format 25 DEPENDS:=+libc +libgcc 26 endef 27 28 define Package/tree/install 29 $(INSTALL_DIR) $(1)/usr/sbin 30 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tree $(1)/usr/sbin/ 31 endef 32 33 $(eval $(call BuildPackage,tree))