mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-zip: new package
@ 2022-10-27  9:10 Thorsten Scherer
  2022-11-11 14:31 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Scherer @ 2022-10-27  9:10 UTC (permalink / raw)
  To: ptxdist; +Cc: t.scherer

---
 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-11 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27  9:10 [ptxdist] [PATCH] host-zip: new package Thorsten Scherer
2022-11-11 14:31 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox