Release 1.4
[0compile.git] / 0compile.xml
blobb7e2f92f775ab98d561d168d91f814cd92db3128
1 <?xml version="1.0" ?>
2 <?xml-stylesheet type='text/xsl' href='interface.xsl'?>
3 <interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
4   <name>0compile</name>
5   <summary>create a binary release from source code</summary>
6   <description>
7 0compile creates a binary from source code, either for your own use or ready for
8 publishing on the web through Zero Install. It can use Zero Install to download
9 any build dependencies (compilers, header files, build tools, etc).
11 This is useful if there is no binary for your platform, or if you wish to modify
12 the program in some way.
14 If plash is installed, it can be used to sandbox the build so that it can't
15 accidentally modify any files outside of the build directory.
17 For a full tutorial, see 0compile's homepage.</description>
18   <homepage>http://0install.net/0compile.html</homepage>
20   <feed-for interface="http://0install.net/2006/interfaces/0compile.xml"/>
22   <release:management xmlns:release="http://zero-install.sourceforge.net/2007/namespaces/0release">
23     <!-- Update the copy of the version number in the main program -->
24     <release:action phase="commit-release">sed -i &quot;s/^version = '.*'$/version = '$RELEASE_VERSION'/&quot; 0compile</release:action>
25   </release:management>
27   <group license="OSI Approved :: GNU Lesser General Public License (LGPL)" main="0compile">
28     <command name="run" path="0compile">
29       <runner interface="http://repo.roscidus.com/python/python">
30         <version before="3"/>
31       </runner>
32     </command>
33     <command name="test" path="tests/testcompile.py">
34       <runner interface="http://repo.roscidus.com/python/python">
35         <version before="3"/>
36       </runner>
37       <requires interface="http://repo.roscidus.com/devel/make">
38         <executable-in-path name="make"/>
39       </requires>
40       <requires interface="http://0install.net/2007/interfaces/ZeroInstall.xml">
41         <executable-in-var command="run" name="0COMPILE_0LAUNCH"/>
42       </requires>
43       <requires interface="http://rox.sourceforge.net/2005/interfaces/ROX-Lib"/>
44     </command>
45     <implementation id="." released="2014-11-03" version="1.4"/>
46     <requires interface="http://0install.net/2006/interfaces/0publish">
47       <environment insert="0publish" mode="replace" name="0COMPILE_0PUBLISH"/>
48     </requires>
49     <requires interface="http://0install.net/2007/interfaces/ZeroInstall.xml">
50       <version not-before="2.1"/>
51       <executable-in-var command="0install" name="0COMPILE_0INSTALL"/>
52       <environment insert="" mode="replace" name="0COMPILE_ZEROINSTALL"/>
53     </requires>
54     <requires interface="http://repo.roscidus.com/utils/bash" os="Windows">
55       <executable-in-var name="0COMPILE_BASH"/>
56     </requires>
57   </group>
58 </interface>