12 | | Launch4j is a cross-platform tool for wrapping Java \ |
13 | | applications distributed as jars in lightweight Windows \ |
14 | | native executables. The executable can be configured to \ |
15 | | search for a certain JRE version or use a bundled one, \ |
16 | | and it's possible to set runtime options, like the \ |
17 | | initial/max heap size. The wrapper also provides better \ |
18 | | user experience through an application icon, a native \ |
19 | | pre-JRE splash screen, a custom process name, and a Java \ |
20 | | download page in case the appropriate JRE cannot be found. |
| 12 | Launch4j is a cross-platform tool for wrapping Java \ |
| 13 | applications distributed as jars in lightweight Windows \ |
| 14 | native executables. The executable can be configured to \ |
| 15 | search for a certain JRE version or use a bundled one, \ |
| 16 | and it's possible to set runtime options, like the \ |
| 17 | initial/max heap size. The wrapper also provides better \ |
| 18 | user experience through an application icon, a native \ |
| 19 | pre-JRE splash screen, a custom process name, and a Java \ |
| 20 | download page in case the appropriate JRE cannot be found. |
40 | | set sharedir ${destroot}${prefix}/share |
41 | | set l4jdir ${sharedir}/launch4j |
42 | | set l4jdoc ${sharedir}/doc/launch4j |
43 | | |
44 | | xinstall -d -m 755 ${l4jdoc} |
45 | | file rename ${worksrcpath}/web ${l4jdoc} |
46 | | file rename ${worksrcpath}/demo ${l4jdoc} |
47 | | file rename ${worksrcpath}/LICENSE.txt ${l4jdoc} |
48 | | file rename ${worksrcpath}/w32api/MinGW.LICENSE.txt ${l4jdoc} |
49 | | foreach doc {JGoodies.Forms JGoodies.Looks Nuvola.Icon.Theme XStream commons foxtrot} { |
50 | | file rename ${worksrcpath}/lib/${doc}.LICENSE.txt ${l4jdoc} |
51 | | } |
52 | | file rename ${worksrcpath}/bin/COPYING ${l4jdoc}/bin.COPYING |
53 | | file rename ${worksrcpath}/bin/readme.txt ${l4jdoc}/bin.readme.txt |
54 | | file rename ${worksrcpath}/head/LICENSE.txt ${l4jdoc}/head.LICENSE.txt |
55 | | |
56 | | file delete -force ${worksrcpath}/head_src |
57 | | file delete -force ${worksrcpath}/src |
58 | | file delete ${worksrcpath}/build.xml |
59 | | file delete ${worksrcpath}/launch4j.exe |
60 | | file delete ${worksrcpath}/launch4j.jfpr |
61 | | file delete ${worksrcpath}/.classpath |
62 | | file delete ${worksrcpath}/.project |
63 | | file delete -force ${worksrcpath}/.settings |
64 | | |
65 | | xinstall -d -m 755 ${sharedir} |
66 | | file copy ${worksrcpath} ${sharedir} |
67 | | ln -s ../share/launch4j/launch4j ${destroot}${prefix}/bin/launch4j |
| 40 | set sharedir ${destroot}${prefix}/share |
| 41 | set l4jdir ${sharedir}/launch4j |
| 42 | set l4jdoc ${sharedir}/doc/launch4j |
| 43 | |
| 44 | xinstall -d -m 755 ${l4jdoc} |
| 45 | file rename ${worksrcpath}/web ${l4jdoc} |
| 46 | file rename ${worksrcpath}/demo ${l4jdoc} |
| 47 | file rename ${worksrcpath}/LICENSE.txt ${l4jdoc} |
| 48 | file rename ${worksrcpath}/w32api/MinGW.LICENSE.txt ${l4jdoc} |
| 49 | foreach doc {JGoodies.Forms JGoodies.Looks Nuvola.Icon.Theme XStream commons foxtrot} { |
| 50 | file rename ${worksrcpath}/lib/${doc}.LICENSE.txt ${l4jdoc} |
| 51 | } |
| 52 | file rename ${worksrcpath}/bin/COPYING ${l4jdoc}/bin.COPYING |
| 53 | file rename ${worksrcpath}/bin/readme.txt ${l4jdoc}/bin.readme.txt |
| 54 | file rename ${worksrcpath}/head/LICENSE.txt ${l4jdoc}/head.LICENSE.txt |
| 55 | |
| 56 | file delete -force ${worksrcpath}/head_src |
| 57 | file delete -force ${worksrcpath}/src |
| 58 | file delete ${worksrcpath}/build.xml |
| 59 | file delete ${worksrcpath}/launch4j.exe |
| 60 | file delete ${worksrcpath}/launch4j.jfpr |
| 61 | file delete ${worksrcpath}/.classpath |
| 62 | file delete ${worksrcpath}/.project |
| 63 | file delete -force ${worksrcpath}/.settings |
| 64 | |
| 65 | xinstall -d -m 755 ${sharedir} |
| 66 | file copy ${worksrcpath} ${sharedir} |
| 67 | ln -s ../share/launch4j/launch4j ${destroot}${prefix}/bin/launch4j |