about summary refs log tree commit diff
path: root/src/etc/pkg/Distribution.xml
diff options
context:
space:
mode:
authorBrian Leibig <brian.leibig@gmail.com>2014-02-25 08:47:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-27 19:59:02 -0800
commitbbec2c54edd347b084734d01826675ae2dffc636 (patch)
treedd15440bd05be9570ffcab203593329fbb54b0f1 /src/etc/pkg/Distribution.xml
parent700fd35fb9d448c5e1658c3cec9c1153c57cc802 (diff)
downloadrust-bbec2c54edd347b084734d01826675ae2dffc636.tar.gz
rust-bbec2c54edd347b084734d01826675ae2dffc636.zip
Add new target 'make dist-osx' to create a .pkg installer for OS X
Diffstat (limited to 'src/etc/pkg/Distribution.xml')
-rw-r--r--src/etc/pkg/Distribution.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/etc/pkg/Distribution.xml b/src/etc/pkg/Distribution.xml
new file mode 100644
index 00000000000..9c2e5d65884
--- /dev/null
+++ b/src/etc/pkg/Distribution.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<installer-gui-script minSpecVersion="2">
+    <title>Rust</title>
+    <license file="LICENSE.txt" mime-type="text/plain"/>
+    <pkg-ref id="org.rust-lang.rust"/>
+    <options customize="never" require-scripts="false" hostArchitectures="i386,x86_64"/>
+    <volume-check>
+        <allowed-os-versions>
+            <os-version min="10.7"/>
+        </allowed-os-versions>
+    </volume-check>
+    <choices-outline>
+        <line choice="default">
+            <line choice="org.rust-lang.rust"/>
+        </line>
+    </choices-outline>
+    <choice id="default"/>
+    <choice id="org.rust-lang.rust" visible="false">
+        <pkg-ref id="org.rust-lang.rust"/>
+    </choice>
+    <pkg-ref id="org.rust-lang.rust" version="0" onConclusion="none">rust.pkg</pkg-ref>
+</installer-gui-script>