summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--strata/tools.morph5
-rw-r--r--strata/tools/zip.morph9
2 files changed, 14 insertions, 0 deletions
diff --git a/strata/tools.morph b/strata/tools.morph
index 34927180..eff3a886 100644
--- a/strata/tools.morph
+++ b/strata/tools.morph
@@ -90,3 +90,8 @@ chunks:
repo: upstream:parted
ref: 387e96e6eac59d84e9a688422b4b321ae9beaa20
unpetrify-ref: baserock/v3.2
+- name: zip
+ morph: strata/tools/zip.morph
+ repo: upstream:zip
+ ref: e52e9d6a339aad5fcff464cf207da51c02996e39
+ unpetrify-ref: zip30
diff --git a/strata/tools/zip.morph b/strata/tools/zip.morph
new file mode 100644
index 00000000..070467e0
--- /dev/null
+++ b/strata/tools/zip.morph
@@ -0,0 +1,9 @@
+name: zip
+kind: chunk
+configure-commands:
+- cp unix/Makefile .
+build-commands:
+- sed -i -e 's/^prefix = .*$/prefix = $$DESTDIR\/$$PREFIX/' Makefile
+- make generic
+install-commands:
+- make install