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/04/04 21:18]
adrien fix sectionning
creating_new_packages [2015/06/07 20:09] (current)
adrien
Line 49: Line 49:
 elif [ "​$ARCH"​ = "​i686"​ ]; then elif [ "​$ARCH"​ = "​i686"​ ]; then
 </​code>​ </​code>​
-  * 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. +  * Replace occurrences of ''​$SLKCFLAGS''​ with ''​-O2''​ 
 +  * 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 76: 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>​