mirror of
https://github.com/openwrt/packages.git
synced 2026-06-20 01:20:11 +04:00
cd30802a26
Update Makefile to use github mirror of new source url since current one is going to retire. "Notice this site is likely going to be shutdown after over 28 years. I will likely be moving all my code-bases to https://gitlab.com/OldManProgrammer"[1] 1. http://mama.indstate.edu/users/ice/tree Signed-off-by: John Audia <therealgraysky@proton.me>
39 lines
937 B
Makefile
39 lines
937 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.0.2
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
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:=753af251ba6446f4d40cc00064e73c55e910d95245a23d63a31ae1f36d444c1f
|
|
|
|
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))
|