Hello,

I had to make myself familiar with some other aspects of git (local branch, 
rebase, reset, …) before resubmitting, that's why it took some time. Meanwhile 
upstream bumped from 5.05 to 5.06. I also had a look at the license of the 
tool. Looks like some BSD-style license but I'm not entirely sure so I leave 
this field on unknown.

Greets
Alex

Signed-off-by: Alexander Dahl <p...@lespocky.de>
---
 rules/file.in        |   15 +++++++++++++++
 rules/file.make      |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 rules/host-file.in   |   13 +++++++++++++
 rules/host-file.make |   18 ++++++++++++++++++
 4 files changed, 96 insertions(+), 0 deletions(-)
 create mode 100644 rules/file.in
 create mode 100644 rules/file.make
 create mode 100644 rules/host-file.in
 create mode 100644 rules/host-file.make

diff --git a/rules/file.in b/rules/file.in
new file mode 100644
index 0000000..902b961
--- /dev/null
+++ b/rules/file.in
@@ -0,0 +1,15 @@
+## SECTION=shell_and_console
+
+config FILE
+       tristate
+       select HOST_FILE
+       prompt "file"
+       help
+         The file command is "a file type guesser", that is, a command-line 
tool
+         that tells you in words what kind of data a file contains. Unlike most
+         GUI systems, command-line UNIX systems - with this program leading the
+         charge - don't rely on filename extentions to tell you the type of a
+         file, but look at the file's actual contents. This is, of course, more
+         reliable, but requires a bit of I/O.
+         +       http://www.darwinsys.com/file/
diff --git a/rules/file.make b/rules/file.make
new file mode 100644
index 0000000..497cf7e
--- /dev/null
+++ b/rules/file.make
@@ -0,0 +1,50 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Alexander Dahl <p...@lespocky.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_FILE) += file
+
+#
+# Paths and names
+#
+FILE_VERSION   := 5.06
+FILE                   := file-$(FILE_VERSION)
+FILE_SUFFIX            := tar.gz
+FILE_URL               := ftp://ftp.astron.com/pub/file/$(FILE).$(FILE_SUFFIX)
+FILE_SOURCE            := $(SRCDIR)/$(FILE).$(FILE_SUFFIX)
+FILE_DIR               := $(BUILDDIR)/$(FILE)
+FILE_LICENSE   := unknown
+
+FILE_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/file.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, file)
+       @$(call install_fixup, file,PRIORITY,optional)
+       @$(call install_fixup, file,SECTION,base)
+       @$(call install_fixup, file,AUTHOR,"Alexander Dahl <p...@lespocky.de>")
+       @$(call install_fixup, file,DESCRIPTION,missing)
+
+       @$(call install_lib, file, 0, 0, 0644, libmagic)
+       @$(call install_copy, file, 0, 0, 0755, -, /usr/bin/file)
+       @$(call install_copy, file, 0, 0, 0644, -, /usr/share/misc/magic.mgc)
+
+       @$(call install_finish, file)
+
+       @$(call touch)
+
+# vim: syntax=make
diff --git a/rules/host-file.in b/rules/host-file.in
new file mode 100644
index 0000000..d2c9b7d
--- /dev/null
+++ b/rules/host-file.in
@@ -0,0 +1,13 @@
+## SECTION=hosttools_noprompt
+
+config HOST_FILE
+       tristate
+       help
+         The file command is "a file type guesser", that is, a command-line 
tool
+         that tells you in words what kind of data a file contains. Unlike most
+         GUI systems, command-line UNIX systems - with this program leading the
+         charge - don't rely on filename extentions to tell you the type of a
+         file, but look at the file's actual contents. This is, of course, more
+         reliable, but requires a bit of I/O.
+         +       http://www.darwinsys.com/file/
diff --git a/rules/host-file.make b/rules/host-file.make
new file mode 100644
index 0000000..ba796b5
--- /dev/null
+++ b/rules/host-file.make
@@ -0,0 +1,18 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2011 by Alexander Dahl <p...@lespocky.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
+#
+HOST_PACKAGES-$(PTXCONF_HOST_FILE) += host-file
+
+HOST_FILE_CONF_TOOL    := autoconf
+
+# vim: syntax=make
-- 
1.7.2.5


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to