From: Thorsten Scherer <t.scherer@eckelmann.de>
To: <ptxdist@pengutronix.de>
Cc: t.scherer@eckelmann.de
Subject: [ptxdist] [PATCH] host-zip: new package
Date: Thu, 27 Oct 2022 11:10:08 +0200 [thread overview]
Message-ID: <20221027091008.i5dudwp6s3onxraw@NB142.eckelmann.group> (raw)
---
rules/host-zip.in | 12 ++++++++++++
rules/host-zip.make | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
create mode 100644 rules/host-zip.in
create mode 100644 rules/host-zip.make
diff --git a/rules/host-zip.in b/rules/host-zip.in
new file mode 100644
index 000000000..968ef1279
--- /dev/null
+++ b/rules/host-zip.in
@@ -0,0 +1,12 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_ZIP
+ tristate
+ help
+ zip is a compression and file packaging utility for Unix, VMS, MSDOS,
+ OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS.
+
+ It is analogous to a combination of the UNIX commands tar(1) and com-
+ press(1) and is compatible with PKHOST_ZIP (Phil Katz's ZIP for MSDOS sys-
+ tems).
diff --git a/rules/host-zip.make b/rules/host-zip.make
new file mode 100644
index 000000000..401d9565b
--- /dev/null
+++ b/rules/host-zip.make
@@ -0,0 +1,37 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Thorsten Scherer <t.scherer@eckelmann.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_ZIP) += host-zip
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_ZIP_CONF_TOOL := NO
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+HOST_ZIP_MAKE_OPT := \
+ -f unix/Makefile generic
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+# Use = instead of := because host-zip.make being included before zip.make
+HOST_ZIP_INSTALL_OPT = \
+ $(HOST_ENV) \
+ prefix=$(HOST_ZIP_PKGDIR)/usr \
+ -f unix/Makefile install
+
+# vim: syntax=make
--
2.38.0
--
Mit freundlichen Grüßen | Best regards
Thorsten Scherer
Diplom-Ingenieur (FH)
Embedded System Software
Eckelmann AG
Berliner Str. 161, 65205 Wiesbaden, Germany
Phone +49 611 7103-329
T.Scherer@eckelmann.de www.eckelmann.de
next reply other threads:[~2022-10-27 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-27 9:10 Thorsten Scherer [this message]
2022-11-11 14:31 ` [ptxdist] [APPLIED] " Michael Olbrich
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=20221027091008.i5dudwp6s3onxraw@NB142.eckelmann.group \
--to=t.scherer@eckelmann.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