summaryrefslogtreecommitdiff
path: root/elements/tools/zip.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/tools/zip.bst')
-rw-r--r--elements/tools/zip.bst19
1 files changed, 19 insertions, 0 deletions
diff --git a/elements/tools/zip.bst b/elements/tools/zip.bst
new file mode 100644
index 00000000..99023867
--- /dev/null
+++ b/elements/tools/zip.bst
@@ -0,0 +1,19 @@
+kind: manual
+depends:
+- core.bst
+sources:
+- kind: git
+ url: upstream:zip
+ track: zip30
+ ref: e52e9d6a339aad5fcff464cf207da51c02996e39
+environment:
+ DESTDIR: '%{install-root}'
+ PREFIX: '%{prefix}'
+config:
+ configure-commands:
+ - cp unix/Makefile .
+ build-commands:
+ - sed -i -e 's/^prefix = .*$/prefix = $$DESTDIR\/$$PREFIX/' Makefile
+ - make generic
+ install-commands:
+ - make install