--- 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 <[email protected]> +# +# 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 [email protected] www.eckelmann.de
