Fixed several packages dirs names.

This commit is contained in:
Manuel Canales Esparcia 2006-06-17 12:57:01 +00:00
parent d3d90e7ba9
commit edf7e4c7d3

View file

@ -1,4 +1,4 @@
<?xml version="1.0"?> ?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common" xmlns:exsl="http://exslt.org/common"
@ -158,23 +158,99 @@
<xsl:template name="ftp_dir"> <xsl:template name="ftp_dir">
<xsl:param name="package" select="foo"/> <xsl:param name="package" select="foo"/>
<!-- From BLFS patcheslist.xsl. Need be revised and fixed. --> <!-- A lot of hardcoded dir names. Not full revised yet. -->
<xsl:choose> <xsl:choose>
<!-- cdparanoia --> <!-- cdparanoia -->
<xsl:when test="contains($package, '-III')"> <xsl:when test="contains($package, '-III')">
<xsl:text>cdparanoia</xsl:text> <xsl:text>cdparanoia</xsl:text>
</xsl:when>
<!-- DobBook 3.1 -->
<xsl:when test="contains($package, 'docbk31')">
<xsl:text>docbk</xsl:text>
</xsl:when>
<!-- gc -->
<xsl:when test="contains($package, 'gc6')">
<xsl:text>gc</xsl:text>
</xsl:when>
<!-- ISO-codes -->
<xsl:when test="contains($package, 'iso-codes')">
<xsl:text>iso-codes</xsl:text>
</xsl:when>
<!-- JPEG -->
<xsl:when test="contains($package, 'jpegsrc')">
<xsl:text>jpeg</xsl:text>
</xsl:when>
<!-- lynx -->
<xsl:when test="contains($package, 'lynx')">
<xsl:text>lynx</xsl:text>
</xsl:when>
<!-- ntp -->
<xsl:when test="contains($package, 'ntp')">
<xsl:text>ntp</xsl:text>
</xsl:when>
<!-- OpenLDAP -->
<xsl:when test="contains($package, 'openldap')">
<xsl:text>openldap</xsl:text>
</xsl:when> </xsl:when>
<!-- Open Office --> <!-- Open Office -->
<xsl:when test="contains($package, 'OOo')"> <xsl:when test="contains($package, 'OOo')">
<xsl:text>OOo</xsl:text> <xsl:text>OOo</xsl:text>
</xsl:when> </xsl:when>
<!-- QT --> <!-- pine -->
<xsl:when test="contains($package, 'qt-x')"> <xsl:when test="contains($package, 'pine')">
<xsl:text>qt</xsl:text> <xsl:text>pine</xsl:text>
</xsl:when>
<!-- psutils -->
<xsl:when test="contains($package, 'psutils')">
<xsl:text>psutils</xsl:text>
</xsl:when>
<!-- sendmail -->
<xsl:when test="contains($package, 'sendmail')">
<xsl:text>sendmail</xsl:text>
</xsl:when>
<!-- Slib -->
<xsl:when test="contains($package, 'slib')">
<xsl:text>slib</xsl:text>
</xsl:when>
<!-- TCL -->
<xsl:when test="contains($package, 'tcl')">
<xsl:text>tcl</xsl:text>
</xsl:when>
<!-- tcpwrappers -->
<xsl:when test="contains($package, 'tcp_wrappers')">
<xsl:text>tcp_wrappers</xsl:text>
</xsl:when>
<!-- TeTeX -->
<xsl:when test="contains($package, 'tetex')">
<xsl:text>tetex</xsl:text>
</xsl:when>
<!-- Tidy -->
<xsl:when test="contains($package, 'tidy')">
<xsl:text>tidy</xsl:text>
</xsl:when>
<!-- Tk -->
<xsl:when test="contains($package, 'tk')">
<xsl:text>tk</xsl:text>
</xsl:when>
<!-- unzip -->
<xsl:when test="contains($package, 'unzip')">
<xsl:text>unzip</xsl:text>
</xsl:when>
<!-- wireless_tools -->
<xsl:when test="contains($package, 'wireless_tools')">
<xsl:text>wireless_tools</xsl:text>
</xsl:when>
<!-- whois -->
<xsl:when test="contains($package, 'whois')">
<xsl:text>whois</xsl:text>
</xsl:when> </xsl:when>
<!-- XOrg --> <!-- XOrg -->
<xsl:when test="contains($package, 'X11R6')"> <xsl:when test="contains($package, 'X11R6')">
<xsl:text>xorg</xsl:text> <xsl:text>Xorg</xsl:text>
</xsl:when>
<!-- zip -->
<xsl:when test="contains($package, 'zip2')">
<xsl:text>zip</xsl:text>
</xsl:when> </xsl:when>
<!-- General rule --> <!-- General rule -->
<xsl:otherwise> <xsl:otherwise>