mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
Distribution.xml file and scripts for building the OSX package.
This commit is contained in:
parent
fad766a885
commit
b07446ffc6
45
misc/build_helpers/osx/Distribution.xml
Normal file
45
misc/build_helpers/osx/Distribution.xml
Normal file
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<installer-script minSpecVersion="1">
|
||||
|
||||
<!-- The original version was generated by PackageMaker -->
|
||||
<!-- Reference Documentation for installer scripts: https://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html -->
|
||||
|
||||
<title>Tahoe-LAFS</title>
|
||||
|
||||
<options customize="never" allow-external-scripts="no" rootVolumeOnly="yes" />
|
||||
|
||||
<installation-check script="(function(){
|
||||
if(system.sysctl('hw.machine') != 'x86_64'){
|
||||
my.result.type = 'Fatal';
|
||||
my.result.message = 'x86_64 system required';
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
})()" />
|
||||
|
||||
<volume-check>
|
||||
<allowed-os-versions>
|
||||
<os-version min="10.7" />
|
||||
</allowed-os-versions>
|
||||
</volume-check>
|
||||
|
||||
<choices-outline>
|
||||
<line choice="choice0"/>
|
||||
</choices-outline>
|
||||
<choice id="choice0" visible="false">
|
||||
<pkg-ref id="com.leastauthority.tahoe"/>
|
||||
</choice>
|
||||
<pkg-ref id="com.leastauthority.tahoe" version="1.10.0" auth="Root">tahoe-lafs.pkg</pkg-ref>
|
||||
|
||||
<license language="en" mime-type="text/plain"><![CDATA[
|
||||
Copyright 2006-2014 The Tahoe-LAFS Software Foundation
|
||||
|
||||
You may use this package under the GNU General Public License, version 2 or, at
|
||||
your option, any later version. You may use this package under the Transitive
|
||||
Grace Period Public Licence, version 1.0, or at your option, any later
|
||||
version. (You may choose to use this package under the terms of either licence,
|
||||
at your option.) See the file 'COPYING.GPL' for the terms of the GNU General
|
||||
Public License, version 2. See the file 'COPYING.TGPPL.rst' for the terms of
|
||||
the Transitive Grace Period Public Licence, version 1.0.
|
||||
]]></license>
|
||||
</installer-script>
|
3
misc/build_helpers/osx/scripts/postinstall
Executable file
3
misc/build_helpers/osx/scripts/postinstall
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "/Applications/tahoe.app/bin" >> /etc/paths.d/tahoe
|
Loading…
Reference in New Issue
Block a user