mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] tree: New package
Date: Fri,  8 Mar 2013 16:26:01 +0100	[thread overview]
Message-ID: <1362756361-27651-1-git-send-email-bernhard@bwalle.de> (raw)
In-Reply-To: <5139EF8F.902@pengutronix.de>

Signed-off-by: Bernhard Walle <bernhard@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..d862938
--- /dev/null
+++ b/rules/tree.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Bernhard Walle <bernhard@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	:= http://mama.indstate.edu/users/ice/tree/src/$(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 <bernhard@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	other threads:[~2013-03-08 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 13:11 Bernhard Walle
2013-03-08 14:02 ` Marc Kleine-Budde
2013-03-08 15:26   ` Bernhard Walle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1362756361-27651-1-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox