- Timestamp:
- 03/20/2006 09:53:24 PM (18 years ago)
- Branches:
- experimental
- Children:
- 7161bc9
- Parents:
- adfc5b8
- Location:
- HLFS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/master.sh
radfc5b8 rc940100 36 36 for i in `cat $JHALFSDIR/packages` ; do 37 37 PKG=`echo $i | sed -e 's/-version.*//' \ 38 -e 's/-file.*//' \39 38 -e 's/uclibc/uClibc/' ` 40 39 … … 44 43 VRS=`echo $i | sed -e 's/.* //' -e 's/"//g'` 45 44 case "$PKG" in 45 "gcc" ) 46 download $PKG "gcc-core-$VRS.tar.bz2" 47 download $PKG "gcc-g++-$VRS.tar.bz2" 48 if [ ! "$TEST" = "0" ] ; then 49 download $PKG "gcc-testsuite-$VRS.tar.bz2" ; 50 fi 51 ;; 52 53 "glibc") 54 if [ "$MODEL" = "glibc" ] ; then 55 download $PKG "$PKG-$VRS.tar.bz2" 56 download $PKG "$PKG-libidn-$VRS.tar.bz2" 57 fi 58 ;; 59 60 "tcl" ) 61 FILE="$PKG$VRS-src.tar.bz2" ; download $PKG $FILE ;; 62 63 "uclibc" ) 64 if [ "$MODEL" = "uclibc" ] ; then 65 download $PKG "$PKG-$VRS.tar.bz2" 66 fi 67 ;; 68 69 "uClibc-locale" ) 70 if [ "$MODEL" = "uclibc" ] ; then 71 FILE="$PKG-$VRS.tgz" ; PKG="uClibc" 72 download $PKG $FILE 73 # There can be no patches for this file 74 continue 75 fi 76 ;; 77 46 78 "uClibc-patch" ) continue ;; 47 79 48 "tcl" ) FILE="$PKG$VRS-src.tar.bz2" ; download $PKG $FILE ;; 49 50 "uClibc-locale" ) FILE="$PKG-$VRS.tgz" ; PKG="uClibc" 51 download $PKG $FILE 52 # There can be no patches for this file 53 continue ;; 54 55 "gcc" ) download $PKG "gcc-core-$VRS.tar.bz2" 56 download $PKG "gcc-g++-$VRS.tar.bz2" 57 if [ ! "$TEST" = "0" ] ; then 58 download $PKG "gcc-testsuite-$VRS.tar.bz2" ; 59 fi 60 ;; 61 "glibc") download $PKG "$PKG-$VRS.tar.bz2" 62 download $PKG "$PKG-libidn-$VRS.tar.bz2" 63 ;; 64 * ) FILE="$PKG-$VRS.tar.bz2" 65 download $PKG $FILE 66 ;; 80 * ) 81 FILE="$PKG-$VRS.tar.bz2" ; download $PKG $FILE ;; 67 82 esac 68 83 -
HLFS/patcheslist.xsl
radfc5b8 rc940100 1 1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 2 3 <!-- Get list of patch files from the BLFS Book --> 4 <!-- $LastChangedBy$ --> 5 <!-- $Date$ --> 3 <!-- $Id$ --> 4 <!-- Get list of patch files from the HLFS Book --> 6 5 7 6 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 10 9 <xsl:output method="text"/> 11 10 11 <!-- What libc implentation must be used? --> 12 <xsl:param name="model" select="glibc"/> 13 12 14 <!-- No text needed --> 13 15 <xsl:template match="//text()"> … … 15 17 </xsl:template> 16 18 17 <!-- Just grab the url from the ulink tags that have .patch in the name -->19 <!-- Just grab the url from the patches.xml file --> 18 20 <xsl:template match="//ulink"> 19 <xsl:if test="contains(@url, '.patch') or contains(@url, '.patch.gz') and contains(@url, 'linuxfromscratch')"> 21 <xsl:if test="ancestor::varlistentry[@condition=$model] 22 or not(ancestor::varlistentry[@condition])"> 20 23 <xsl:value-of select="@url"/> 21 24 <xsl:text>
</xsl:text>
Note:
See TracChangeset
for help on using the changeset viewer.