Initial Commit
- initial default booting image
This commit is contained in:
8
package/ytree/Config.in
Normal file
8
package/ytree/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_YTREE
|
||||
bool "ytree"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Ytree - a (curses-based) file manager similar to DOS Xtree(tm)
|
||||
|
||||
https://www.han.de/~werner/ytree.html
|
||||
3
package/ytree/ytree.hash
Normal file
3
package/ytree/ytree.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 caeeeac334dac83921bd8b657ad2d4cf234c15da4ffc7d15dad0bda99e52f197 ytree-2.13.tar.gz
|
||||
sha256 eb6bf7204569b4fe8eaf9d4dffc57e44047c5efb5deba1b2d99069ddbc99d031 COPYING
|
||||
31
package/ytree/ytree.mk
Normal file
31
package/ytree/ytree.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# ytree
|
||||
#
|
||||
################################################################################
|
||||
|
||||
YTREE_VERSION = 2.13
|
||||
YTREE_SITE = https://www.han.de/~werner
|
||||
YTREE_LICENSE = GPL-2.0+
|
||||
YTREE_LICENSE_FILES = COPYING
|
||||
YTREE_DEPENDENCIES = ncurses
|
||||
|
||||
YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS)
|
||||
YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
YTREE_DEPENDENCIES += host-pkgconf readline
|
||||
YTREE_CFLAGS += -DREADLINE_SUPPORT
|
||||
YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline`
|
||||
endif
|
||||
|
||||
define YTREE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(YTREE_CFLAGS)" LDFLAGS="$(YTREE_LDFLAGS)"
|
||||
endef
|
||||
|
||||
define YTREE_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user