- Timestamp:
- 09/22/2007 03:23:18 PM (17 years ago)
- Branches:
- experimental
- Children:
- 097df00
- Parents:
- 4ddaa8e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/lfs.xsl
r4ddaa8e rc0f8256 18 18 3 = all chapter05 and chapter06 testsuites 19 19 --> 20 <xsl:param name="testsuite" select="1"/>20 <xsl:param name="testsuite">1</xsl:param> 21 21 22 22 <!-- Bomb on test suites failures? … … 24 24 y = yes, bomb at the first test suite failure to can review the build dir 25 25 --> 26 <xsl:param name="bomb-testsuite" select="n"/>26 <xsl:param name="bomb-testsuite">n</xsl:param> 27 27 28 28 <!-- Install vim-lang package? --> 29 <xsl:param name="vim-lang" select="y"/>29 <xsl:param name="vim-lang">y</xsl:param> 30 30 31 31 <!-- Time zone --> 32 <xsl:param name="timezone" select="GMT"/>32 <xsl:param name="timezone">GMT</xsl:param> 33 33 34 34 <!-- Page size --> 35 <xsl:param name="page" select="letter"/>35 <xsl:param name="page">letter</xsl:param> 36 36 37 37 <!-- Locale setting --> 38 <xsl:param name="lang" select="C"/> 38 <xsl:param name="lang">C</xsl:param> 39 40 <!-- Custom tools support --> 41 <xsl:param name="custom-tools">n</xsl:param> 42 43 <!-- blfs-tool support --> 44 <xsl:param name="blfs-tool">n</xsl:param> 39 45 40 46 … … 58 64 <xsl:template name="user_footer"> 59 65 <xsl:text>
</xsl:text> 66 </xsl:template> 67 68 69 <!-- Hock for creating a custom tools directory containing scripts 70 to be run after the system has been built --> 71 <xsl:template name="custom-tools"> 72 <!-- Fixed value --> 73 <xsl:variable name="basedir">custom-tools/20_</xsl:variable> 74 <!-- Add an exsl:document block for each script to be created, 75 This one is only a dummy example. You must replace "01" by 76 the proper build order and "dummy" by the script name --> 77 <exsl:document href="{$basedir}01-dummy" method="text"> 78 <xsl:call-template name="header"/> 79 <xsl:text> 80 PKG_PHASE=dummy 81 PACKAGE=dummy 82 VERSION=0.0.0 83 TARBALL=dummy-0.0.0.tar.bz2 84 85 cd $PKGDIR 86 ./configure --prefix=/usr 87 make 88 make check 89 make install 90 </xsl:text> 91 <xsl:call-template name="footer"/> 92 </exsl:document> 60 93 </xsl:template> 61 94 … … 185 218 186 219 220 <!-- Adds blfs-tool support scripts --> 221 <xsl:template name="blfs-tool"> 222 <!-- Fixed values --> 223 <xsl:variable name="basedir">blfs-tool-deps/30_</xsl:variable> 224 <!-- One exsl:document block for each blfs-tool dependency 225 TO BE WRITTEN --> 226 <exsl:document href="{$basedir}01-dummy" method="text"> 227 <xsl:call-template name="header"/> 228 <xsl:text> 229 PKG_PHASE=dummy 230 PACKAGE=dummy 231 VERSION=0.0.0 232 TARBALL=dummy-0.0.0.tar.bz2 233 234 cd $PKGDIR 235 ./configure --prefix=/usr 236 make 237 make check 238 make install 239 </xsl:text> 240 <xsl:call-template name="footer"/> 241 </exsl:document> 242 </xsl:template> 243 244 187 245 <!-- ######################################################################## --> 188 246 … … 193 251 <!-- Start processing at chapter level --> 194 252 <xsl:apply-templates select="//chapter"/> 253 <!-- Process custom tools scripts --> 254 <xsl:if test="$custom-tools = 'y'"> 255 <xsl:call-template name="custom-tools"/> 256 </xsl:if> 257 <!-- Process blfs-tool scripts --> 258 <xsl:if test="$blfs-tool = 'y'"> 259 <xsl:call-template name="blfs-tool"/> 260 </xsl:if> 195 261 </xsl:template> 196 262
Note:
See TracChangeset
for help on using the changeset viewer.