* [ptxdist] [PATCH] tree: New package
@ 2013-03-08 13:11 Bernhard Walle
2013-03-08 14:02 ` Marc Kleine-Budde
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Walle @ 2013-03-08 13:11 UTC (permalink / raw)
To: ptxdist
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..997aabb
--- /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 := 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 <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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH] tree: New package
2013-03-08 13:11 [ptxdist] [PATCH] tree: New package Bernhard Walle
@ 2013-03-08 14:02 ` Marc Kleine-Budde
2013-03-08 15:26 ` Bernhard Walle
0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2013-03-08 14:02 UTC (permalink / raw)
To: ptxdist; +Cc: Bernhard Walle
[-- Attachment #1.1: Type: text/plain, Size: 1880 bytes --]
On 03/08/2013 02:11 PM, Bernhard Walle wrote:
> 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..997aabb
> --- /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 := ftp://mama.indstate.edu/linux/tree/$(TREE).$(TREE_SUFFIX)
Is there a http URL? ftp makes stress behind some paranoid corporate
firewalls.
Looks good otherwise.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ptxdist] [PATCH] tree: New package
2013-03-08 14:02 ` Marc Kleine-Budde
@ 2013-03-08 15:26 ` Bernhard Walle
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Walle @ 2013-03-08 15:26 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-08 15:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08 13:11 [ptxdist] [PATCH] tree: New package Bernhard Walle
2013-03-08 14:02 ` Marc Kleine-Budde
2013-03-08 15:26 ` Bernhard Walle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox