Initial Commit
- initial default booting image
This commit is contained in:
22
package/tree/tree.mk
Normal file
22
package/tree/tree.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# tree
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TREE_VERSION = 2.2.1
|
||||
TREE_SOURCE = tree-$(TREE_VERSION).tgz
|
||||
TREE_SITE = http://oldmanprogrammer.net/tar/tree
|
||||
TREE_LICENSE = GPL-2.0+
|
||||
TREE_LICENSE_FILES = LICENSE
|
||||
|
||||
define TREE_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=c99" \
|
||||
-C $(@D)
|
||||
endef
|
||||
|
||||
define TREE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user