Win-builds

(Free) Software Building and Packaging For Windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
creating_new_packages [2015/06/07 16:55]
adrien [Port an existing build script]
creating_new_packages [2015/06/07 20:09] (current)
adrien
Line 50: Line 50:
 </​code>​ </​code>​
   * Replace occurrences of ''​$SLKCFLAGS''​ with ''​-O2''​   * Replace occurrences of ''​$SLKCFLAGS''​ with ''​-O2''​
-  *   * Add ''​--host=${HOST_TRIPLET}''​ to the configure invocation. If this involves adding a newline in a configure call, don’t forget to escape it with ''​\''​ right before it. +  * Add ''​<​nowiki>​--host=${HOST_TRIPLET}</​nowiki>​''​ to the configure invocation. If this involves adding a newline in a configure call, don’t forget to escape it with ''​\''​ right before it. 
   * Locate the "​strip"​ invocation; it looks like:   * Locate the "​strip"​ invocation; it looks like:
 <​code>​ <​code>​
Line 77: Line 77:
   -e "​s/​%{BUILD}/​${BUILD}/"​ \   -e "​s/​%{BUILD}/​${BUILD}/"​ \
   -e "​s/​%{DESCR}/​${DESCR:​-"​No description"​}/"​ \   -e "​s/​%{DESCR}/​${DESCR:​-"​No description"​}/"​ \
-  | yypkg --makepkg -${YYOUTPUT} --script - --directory "​${PKG}/​${PREFIX}"​+  | yypkg --makepkg --output ​${YYOUTPUT} --script - --directory "​${PKG}/​${PREFIX}"​
 </​code>​ </​code>​