source: XSL/custom-tools.xsl@ 55d2c3e

experimental
Last change on this file since 55d2c3e was bfcaaa0, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Moved custom-tools and blfs-tool templates to saparate files.

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[bfcaaa0]1<?xml version="1.0"?>
2
3<!-- $Id$ -->
4
5<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 xmlns:exsl="http://exslt.org/common"
7 extension-element-prefixes="exsl"
8 version="1.0">
9
10
11 <!-- Create a custom tools directory containing scripts
12 to be run after the base system has been built -->
13 <xsl:template name="custom-tools">
14 <!-- Fixed directory and ch_order values -->
15 <xsl:variable name="basedir">custom-tools/20_</xsl:variable>
16 <!-- Add an exsl:document block for each script to be created.
17 This one is only a dummy example. You must replace "01" by
18 the proper build order and "dummy" by the script name -->
19 <exsl:document href="{$basedir}01-dummy" method="text">
20 <xsl:call-template name="header"/>
21 <xsl:text>
22PKG_PHASE=dummy
23PACKAGE=dummy
24VERSION=0.0.0
25TARBALL=dummy-0.0.0.tar.bz2
26 </xsl:text>
27 <xsl:call-template name="disk_usage"/>
28 <xsl:call-template name="unpack"/>
29 <xsl:text>
30cd $PKGDIR
31./configure --prefix=/usr
32make
33make check
34make install
35 </xsl:text>
36 <xsl:call-template name="disk_usage"/>
37 <xsl:call-template name="clean_sources"/>
38 <xsl:call-template name="footer"/>
39 </exsl:document>
40 </xsl:template>
41
42</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.