Changeset 7b50e2c
- Timestamp:
- 09/29/2007 12:31:07 PM (17 years ago)
- Branches:
- experimental
- Children:
- 5a9b043
- Parents:
- bfcaaa0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XSL/blfs-tool.xsl
rbfcaaa0 r7b50e2c 13 13 <!-- Fixed directory and ch_order values --> 14 14 <xsl:variable name="basedir">blfs-tool-deps/30_</xsl:variable> 15 <!-- One exsl:document block for each blfs-tool dependency 16 TO BE WRITTEN --> 17 <exsl:document href="{$basedir}01-dummy" method="text"> 18 <xsl:call-template name="header"/> 19 <xsl:text> 20 PKG_PHASE=dummy 21 PACKAGE=dummy 22 VERSION=0.0.0 23 TARBALL=dummy-0.0.0.tar.bz2 15 <!-- libxml2 --> 16 <exsl:document href="{$basedir}01-libxml2" method="text"> 17 <xsl:call-template name="header"/> 18 <xsl:text> 19 PKG_PHASE="libxml2" 20 PACKAGE="libxml2" 21 VERSION="2.6.29" 22 TARBALL="${PACKAGE}-${VERSION}.tar.gz" 23 DOWNLOAD="ftp://xmlsoft.org/libxml2/${TARBALL}" 24 MD5SUM="8b99b6e8b08e838438d9e6b639d79ebd" 24 25 </xsl:text> 25 26 <xsl:call-template name="disk_usage"/> … … 29 30 ./configure --prefix=/usr 30 31 make 31 make check 32 make install 32 make install 33 </xsl:text> 34 <xsl:call-template name="disk_usage"/> 35 <xsl:call-template name="clean_sources"/> 36 <xsl:call-template name="footer"/> 37 </exsl:document> 38 <!-- libxslt --> 39 <exsl:document href="{$basedir}02-libxslt" method="text"> 40 <xsl:call-template name="header"/> 41 <xsl:text> 42 PKG_PHASE="libxslt" 43 PACKAGE="libxslt" 44 VERSION="1.1.21" 45 TARBALL="${PACKAGE}-${VERSION}.tar.gz" 46 DOWNLOAD="ftp://xmlsoft.org/libxslt/${TARBALL}" 47 MD5SUM="59fe34e85692f71df2a38c2ee291b3ca" 48 </xsl:text> 49 <xsl:call-template name="disk_usage"/> 50 <xsl:call-template name="unpack"/> 51 <xsl:text> 52 cd $PKGDIR 53 ./configure --prefix=/usr 54 make 55 make install 56 </xsl:text> 57 <xsl:call-template name="disk_usage"/> 58 <xsl:call-template name="clean_sources"/> 59 <xsl:call-template name="footer"/> 60 </exsl:document> 61 <!-- tidy --> 62 <exsl:document href="{$basedir}03-tidy" method="text"> 63 <xsl:call-template name="header"/> 64 <xsl:text> 65 PKG_PHASE="tidy" 66 PACKAGE="tidy" 67 VERSION="cvs_20070326" 68 TARBALL="${PACKAGE}-${VERSION}.tar.bz2" 69 DOWNLOAD="http://anduin.linuxfromscratch.org/files/BLFS/sources/${TARBALL}" 70 MD5SUM="468bfaa5cf917a8ecbe7834c13a61376" 71 </xsl:text> 72 <xsl:call-template name="disk_usage"/> 73 <xsl:call-template name="unpack"/> 74 <xsl:text> 75 cd $PKGDIR 76 ./configure --prefix=/usr 77 make 78 make install 79 make -C htmldoc install_apidocs 80 </xsl:text> 81 <xsl:call-template name="disk_usage"/> 82 <xsl:call-template name="clean_sources"/> 83 <xsl:call-template name="footer"/> 84 </exsl:document> 85 <!-- unzip --> 86 <exsl:document href="{$basedir}04-unzip" method="text"> 87 <xsl:call-template name="header"/> 88 <xsl:text> 89 PKG_PHASE="unzip" 90 PACKAGE="unzip" 91 VERSION="552" 92 TARBALL="${PACKAGE}${VERSION}.tar.gz" 93 DOWNLOAD="http://downloads.sourceforge.net/infozip/${TARBALL}" 94 MD5SUM="9d23919999d6eac9217d1f41472034a9" 95 96 PATCH1="http://www.linuxfromscratch.org/patches/blfs/svn/unzip-5.52-security_fix-1.patch 00ebf64fdda2ad54ddfc619f85f328bb" 97 </xsl:text> 98 <xsl:call-template name="disk_usage"/> 99 <xsl:call-template name="unpack"/> 100 <xsl:text> 101 cd $PKGDIR 102 patch -Np1 -i ../unzip-5.52-security_fix-1.patch 103 make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux 104 make prefix=/usr install 105 </xsl:text> 106 <xsl:call-template name="disk_usage"/> 107 <xsl:call-template name="clean_sources"/> 108 <xsl:call-template name="footer"/> 109 </exsl:document> 110 <!-- DocBook XML DTD --> 111 <exsl:document href="{$basedir}05-docbook-xml" method="text"> 112 <xsl:call-template name="header"/> 113 <xsl:text> 114 PKG_PHASE="docbook-xml" 115 PACKAGE="docboo-xml" 116 VERSION="4.5" 117 TARBALL="${PACKAGE}-${VERSION}.zip" 118 DOWNLOAD="http://www.docbook.org/xml/4.5/${TARBALL}" 119 MD5SUM="03083e288e87a7e829e437358da7ef9e" 120 </xsl:text> 121 <xsl:call-template name="disk_usage"/> 122 <xsl:text> 123 cd /sources 124 mkdir docbook-xml 125 cd docbook-xml 126 unzip ../docbook-xml-4.5.zip 127 install -v -d -m755 /usr/share/xml/docbook/xml-dtd-4.5 128 install -v -d -m755 /etc/xml 129 chown -R root:root . 130 cp -v -af docbook.cat *.dtd ent/ *.mod \ 131 /usr/share/xml/docbook/xml-dtd-4.5 132 if [ ! -e /etc/xml/docbook ]; then 133 xmlcatalog --noout --create /etc/xml/docbook 134 fi 135 xmlcatalog --noout --add "public" \ 136 "-//OASIS//DTD DocBook XML V4.5//EN" \ 137 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ 138 /etc/xml/docbook 139 xmlcatalog --noout --add "public" \ 140 "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \ 141 "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \ 142 /etc/xml/docbook 143 xmlcatalog --noout --add "public" \ 144 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 145 "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \ 146 /etc/xml/docbook 147 xmlcatalog --noout --add "public" \ 148 "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \ 149 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \ 150 /etc/xml/docbook 151 xmlcatalog --noout --add "public" \ 152 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \ 153 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \ 154 /etc/xml/docbook 155 xmlcatalog --noout --add "public" \ 156 "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ 157 "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \ 158 /etc/xml/docbook 159 xmlcatalog --noout --add "public" \ 160 "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \ 161 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \ 162 /etc/xml/docbook 163 xmlcatalog --noout --add "public" \ 164 "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \ 165 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \ 166 /etc/xml/docbook 167 xmlcatalog --noout --add "public" \ 168 "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \ 169 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \ 170 /etc/xml/docbook 171 xmlcatalog --noout --add "rewriteSystem" \ 172 "http://www.oasis-open.org/docbook/xml/4.5" \ 173 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 174 /etc/xml/docbook 175 xmlcatalog --noout --add "rewriteURI" \ 176 "http://www.oasis-open.org/docbook/xml/4.5" \ 177 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 178 /etc/xml/docbook 179 if [ ! -e /etc/xml/catalog ]; then 180 xmlcatalog --noout --create /etc/xml/catalog 181 fi 182 xmlcatalog --noout --add "delegatePublic" \ 183 "-//OASIS//ENTITIES DocBook XML" \ 184 "file:///etc/xml/docbook" \ 185 /etc/xml/catalog 186 xmlcatalog --noout --add "delegatePublic" \ 187 "-//OASIS//DTD DocBook XML" \ 188 "file:///etc/xml/docbook" \ 189 /etc/xml/catalog 190 xmlcatalog --noout --add "delegateSystem" \ 191 "http://www.oasis-open.org/docbook/" \ 192 "file:///etc/xml/docbook" \ 193 /etc/xml/catalog 194 xmlcatalog --noout --add "delegateURI" \ 195 "http://www.oasis-open.org/docbook/" \ 196 "file:///etc/xml/docbook" \ 197 /etc/xml/catalog 198 for DTDVERSION in 4.1.2 4.2 4.3 4.4 199 do 200 xmlcatalog --noout --add "public" \ 201 "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \ 202 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \ 203 /etc/xml/docbook 204 xmlcatalog --noout --add "rewriteSystem" \ 205 "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \ 206 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 207 /etc/xml/docbook 208 xmlcatalog --noout --add "rewriteURI" \ 209 "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \ 210 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 211 /etc/xml/docbook 212 xmlcatalog --noout --add "delegateSystem" \ 213 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \ 214 "file:///etc/xml/docbook" \ 215 /etc/xml/catalog 216 xmlcatalog --noout --add "delegateURI" \ 217 "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \ 218 "file:///etc/xml/docbook" \ 219 /etc/xml/catalog 220 done 221 </xsl:text> 222 <xsl:call-template name="disk_usage"/> 223 <xsl:text> 224 cd /sources 225 rm -rf docbook-xml 226 </xsl:text> 227 <xsl:call-template name="footer"/> 228 </exsl:document> 229 <!-- DocBook XSL (empty and commented-out, it's not required for now) --> 230 <!--<exsl:document href="{$basedir}06-docbook-xsl" method="text"> 231 <xsl:call-template name="header"/> 232 <xsl:text> 233 PKG_PHASE="docbook-xsl" 234 PACKAGE="docbook-xsl" 235 VERSION="" 236 TARBALL="${PACKAGE}-${VERSION}.tar.bz2" 237 DOWNLOAD="http://prdownloads.sourceforge.net/docbook/${TARBALL}" 238 MD5SUM="" 239 </xsl:text> 240 <xsl:call-template name="disk_usage"/> 241 <xsl:call-template name="unpack"/> 242 <xsl:text> 243 cd $PKGDIR 244 </xsl:text> 245 <xsl:call-template name="disk_usage"/> 246 <xsl:call-template name="clean_sources"/> 247 <xsl:call-template name="footer"/> 248 </exsl:document>--> 249 <!-- --> 250 <exsl:document href="{$basedir}07-gpm" method="text"> 251 <xsl:call-template name="header"/> 252 <xsl:text> 253 PKG_PHASE="gpm" 254 PACKAGE="gpm" 255 VERSION="1.20.1" 256 TARBALL="${PACKAGE}-${VERSION}.tar.bz2" 257 DOWNLOAD="ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/${TARBALL}" 258 MD5SUM="2c63e827d755527950d9d13fe3d87692" 259 260 PATCH1="http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-segfault-1.patch 8c88f92990ba7613014fcd1db14ca7ac" 261 PATCH2="http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-silent-1.patch bf6cbefe20c6f15b587f19ebc1c8a37a" 262 </xsl:text> 263 <xsl:call-template name="disk_usage"/> 264 <xsl:call-template name="unpack"/> 265 <xsl:text> 266 cd $PKGDIR 267 patch -Np1 -i ../gpm-1.20.1-segfault-1.patch 268 patch -Np1 -i ../gpm-1.20.1-silent-1.patch 269 ./configure --prefix=/usr --sysconfdir=/etc 270 LDFLAGS="$LDFLAGS -lm" make 271 make install 272 cp -v conf/gpm-root.conf /etc 273 ldconfig 274 </xsl:text> 275 <xsl:call-template name="disk_usage"/> 276 <xsl:call-template name="clean_sources"/> 277 <xsl:call-template name="footer"/> 278 </exsl:document> 279 <!-- --> 280 <exsl:document href="{$basedir}08-lynx" method="text"> 281 <xsl:call-template name="header"/> 282 <xsl:text> 283 PKG_PHASE="lynx" 284 PACKAGE="lynx" 285 VERSION="2.8.6" 286 TARBALL="${PACKAGE}${VERSION}.tar.bz2" 287 DOWNLOAD="http://lynx.isc.org/release/${TARBALL}" 288 MD5SUM="dc80497b7dda6a28fd80404684d27548" 289 </xsl:text> 290 <xsl:call-template name="disk_usage"/> 291 <xsl:call-template name="unpack"/> 292 <xsl:text> 293 cd $PKGDIR 294 ./configure --prefix=/usr \ 295 --sysconfdir=/etc/lynx \ 296 --datadir=/usr/share/doc/lynx-2.8.6 \ 297 --with-zlib \ 298 --with-bzlib \ 299 --with-screen=ncursesw \ 300 --enable-locale-charset 301 make 302 make install-full 303 chgrp -v -R root /usr/share/doc/lynx-2.8.6/lynx_doc 304 </xsl:text> 305 <xsl:call-template name="disk_usage"/> 306 <xsl:call-template name="clean_sources"/> 307 <xsl:call-template name="footer"/> 308 </exsl:document> 309 <!-- --> 310 <exsl:document href="{$basedir}09-sudo" method="text"> 311 <xsl:call-template name="header"/> 312 <xsl:text> 313 PKG_PHASE="sudo" 314 PACKAGE="sudo" 315 VERSION="1.6.8p12" 316 TARBALL="${PACKAGE}-${VERSION}.tar.gz" 317 DOWNLOAD="http://anduin.linuxfromscratch.org/sources/BLFS/svn/s/${TARBALL}" 318 MD5SUM="b29893c06192df6230dd5f340f3badf5" 319 320 PATCH1="http://www.linuxfromscratch.org/patches/blfs/svn/sudo-1.6.8p12-envvar_fix-1.patch 454925aedfe054dff8fe0d03b209f986" 321 </xsl:text> 322 <xsl:call-template name="disk_usage"/> 323 <xsl:call-template name="unpack"/> 324 <xsl:text> 325 cd $PKGDIR 326 patch -Np1 -i ../sudo-1.6.8p12-envvar_fix-1.patch 327 ./configure --prefix=/usr --libexecdir=/usr/lib \ 328 --enable-noargs-shell --with-ignore-dot --with-all-insults \ 329 --enable-shell-sets-home 330 make 331 make install 332 </xsl:text> 333 <xsl:call-template name="disk_usage"/> 334 <xsl:call-template name="clean_sources"/> 335 <xsl:call-template name="footer"/> 336 </exsl:document> 337 <!-- --> 338 <exsl:document href="{$basedir}10-wget" method="text"> 339 <xsl:call-template name="header"/> 340 <xsl:text> 341 PKG_PHASE="wget" 342 PACKAGE="wget" 343 VERSION="1.10.2" 344 TARBALL="${PACKAGE}-${VERSION}.tar.gz" 345 DOWNLOAD="ftp://ftp.gnu.org/gnu/wget/${TARBALL}" 346 MD5SUM="795fefbb7099f93e2d346b026785c4b8" 347 </xsl:text> 348 <xsl:call-template name="disk_usage"/> 349 <xsl:call-template name="unpack"/> 350 <xsl:text> 351 cd $PKGDIR 352 ./configure --prefix=/usr --sysconfdir=/etc 353 make 354 make install 355 </xsl:text> 356 <xsl:call-template name="disk_usage"/> 357 <xsl:call-template name="clean_sources"/> 358 <xsl:call-template name="footer"/> 359 </exsl:document> 360 <!-- --> 361 <exsl:document href="{$basedir}11-subversion" method="text"> 362 <xsl:call-template name="header"/> 363 <xsl:text> 364 PKG_PHASE="subversion" 365 PACKAGE="subversion" 366 VERSION="1.3.1" 367 TARBALL="${PACKAGE}-${VERSION}.tar.bz2" 368 DOWNLOAD="http://subversion.tigris.org/tarballs/${TARBALL}" 369 MD5SUM="07b95963968ae345541ca99d0e7bf082" 370 </xsl:text> 371 <xsl:call-template name="disk_usage"/> 372 <xsl:call-template name="unpack"/> 373 <xsl:text> 374 cd $PKGDIR 375 ./configure --prefix=/usr \ 376 --without-berkeley-db \ 377 --with-installbuilddir=/usr/lib/apr-0 378 make 379 make install 380 rm doc/{Makefile,doxygen.conf} 381 find doc -type d -exec chmod 755 {} \; 382 find doc -type f -exec chmod 644 {} \; 383 install -v -m755 -d /usr/share/doc/subversion-1.3.1 384 cp -v -R doc/* /usr/share/doc/subversion-1.3.1 33 385 </xsl:text> 34 386 <xsl:call-template name="disk_usage"/>
Note:
See TracChangeset
for help on using the changeset viewer.