From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay04.ispgateway.de ([80.67.31.27]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UDzBP-0001aB-IW for ptxdist@pengutronix.de; Fri, 08 Mar 2013 16:26:12 +0100 Received: from [78.47.165.117] (helo=regiomontanus.your-server.de) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1UDzBP-0001yv-3K for ptxdist@pengutronix.de; Fri, 08 Mar 2013 16:26:07 +0100 From: Bernhard Walle Date: Fri, 8 Mar 2013 16:26:01 +0100 Message-Id: <1362756361-27651-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <5139EF8F.902@pengutronix.de> References: <5139EF8F.902@pengutronix.de> Subject: [ptxdist] [PATCH] tree: New package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Bernhard Walle --- 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 +# +# 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 ") + @$(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