Signed-off-by: Bernhard Walle <bernh...@bwalle.de>
---
 rules/tree.in   |  9 +++++++++
 rules/tree.make | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 rules/tree.in
 create mode 100644 rules/tree.make

diff --git a/rules/tree.in b/rules/tree.in
new file mode 100644
index 0000000..d513f04
--- /dev/null
+++ b/rules/tree.in
@@ -0,0 +1,9 @@
+## SECTION=shell_and_console
+
+config TREE
+       tristate
+       prompt "tree"
+       select GCCLIBS_GCC_S
+       help
+         A directory listing program displaying a depth indented list of
+         files.
diff --git a/rules/tree.make b/rules/tree.make
new file mode 100644
index 0000000..997aabb
--- /dev/null
+++ b/rules/tree.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Bernhard Walle <bernh...@bwalle.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_TREE) += tree
+
+#
+# Paths and names
+#
+TREE_VERSION   := 1.6.0
+TREE_MD5       := 04e967a3f4108d50cde3b4b0e89e970a
+TREE           := tree-$(TREE_VERSION)
+TREE_SUFFIX    := tgz
+TREE_URL       := ftp://mama.indstate.edu/linux/tree/$(TREE).$(TREE_SUFFIX)
+TREE_SOURCE    := $(SRCDIR)/$(TREE).$(TREE_SUFFIX)
+TREE_DIR       := $(BUILDDIR)/$(TREE)
+TREE_LICENSE   := GPL
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+TREE_MAKE_OPT  := \
+       $(CROSS_ENV_CC) \
+       $(CROSS_ENV_CPP) \
+       $(CROSS_ENV_AS)
+
+TREE_INSTALL_OPT := \
+       prefix=$(TREE_PKGDIR)/usr install
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/tree.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, tree)
+       @$(call install_fixup, tree,PRIORITY,optional)
+       @$(call install_fixup, tree,SECTION,base)
+       @$(call install_fixup, tree,AUTHOR,"Bernhard Walle 
<bernh...@bwalle.de>")
+       @$(call install_fixup, tree,DESCRIPTION,missing)
+
+       @$(call install_copy, tree, 0, 0, 0755, -, /usr/bin/tree)
+
+       @$(call install_finish, tree)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
1.8.1.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to