r1939 - in profiles/LFS/branches/cross-lfs: . temp-system

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Thu Jul 14 11:51:56 PDT 2005


Author: thomasp
Date: 2005-07-14 12:51:55 -0600 (Thu, 14 Jul 2005)
New Revision: 1939

Added:
   profiles/LFS/branches/cross-lfs/temp-system/bash.xml
   profiles/LFS/branches/cross-lfs/temp-system/binutils.xml
   profiles/LFS/branches/cross-lfs/temp-system/bzip2.xml
   profiles/LFS/branches/cross-lfs/temp-system/coreutils.xml
   profiles/LFS/branches/cross-lfs/temp-system/diffutils.xml
   profiles/LFS/branches/cross-lfs/temp-system/findutils.xml
   profiles/LFS/branches/cross-lfs/temp-system/gawk.xml
   profiles/LFS/branches/cross-lfs/temp-system/gcc.xml
   profiles/LFS/branches/cross-lfs/temp-system/gettext.xml
   profiles/LFS/branches/cross-lfs/temp-system/grep.xml
   profiles/LFS/branches/cross-lfs/temp-system/gzip.xml
   profiles/LFS/branches/cross-lfs/temp-system/make.xml
   profiles/LFS/branches/cross-lfs/temp-system/ncurses.xml
   profiles/LFS/branches/cross-lfs/temp-system/patch.xml
   profiles/LFS/branches/cross-lfs/temp-system/sed.xml
   profiles/LFS/branches/cross-lfs/temp-system/tar.xml
   profiles/LFS/branches/cross-lfs/temp-system/template.xml
   profiles/LFS/branches/cross-lfs/temp-system/zlib.xml
Modified:
   profiles/LFS/branches/cross-lfs/LFS.xml
Log:
Added temp-system section.


Modified: profiles/LFS/branches/cross-lfs/LFS.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/LFS.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/LFS.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -41,5 +41,46 @@
       <xi:include href="cross-tools/glibc.xml" />
       <xi:include href="cross-tools/gcc.xml" />
     </stage>
+    <stage name="Constructing a Temporary System">
+      <stageinfo>
+	<root>/</root>
+	<user>&lfs-user;</user>
+	<environment>
+	  <variable name="LFS">&LFS;</variable>
+	  <variable name="LC_ALL">POSIX</variable>
+	  <variable name="PATH">/cross-tools/bin:/bin:/usr/bin</variable>
+	  <variable name="CFLAGS" />
+	  <variable name="CXXFLAGS" />
+	  <variable name="TERM">&TERM;</variable>
+	  <variable name="HOME">&lfs-user-dir;</variable>
+	  <variable name="LFS_HOST">&lfs-host;</variable>
+	  <variable name="LFS_TARGET">&lfs-target;</variable>
+	  <variable name="CC">&lfs-target;-gcc</variable>
+	  <variable name="CXX">&lfs-target;-g++</variable>
+	  <variable name="AR">&lfs-target;-ar</variable>
+	  <variable name="AS">&lfs-target;-as</variable>
+	  <variable name="RANLIB">&lfs-target;-ranlib</variable>
+	  <variable name="LD">&lfs-target;-ld</variable>
+	  <variable name="STRIP">&lfs-target;-strip</variable>
+      	</environment>
+      </stageinfo>
+      <xi:include href="temp-system/binutils.xml" />
+      <xi:include href="temp-system/gcc.xml" />
+      <xi:include href="temp-system/zlib.xml" />
+      <xi:include href="temp-system/gawk.xml" />
+      <xi:include href="temp-system/coreutils.xml" />
+      <xi:include href="temp-system/bzip2.xml" />
+      <xi:include href="temp-system/gzip.xml" />
+      <xi:include href="temp-system/diffutils.xml" />
+      <xi:include href="temp-system/findutils.xml" />
+      <xi:include href="temp-system/make.xml" />
+      <xi:include href="temp-system/grep.xml" />
+      <xi:include href="temp-system/sed.xml" />
+      <xi:include href="temp-system/gettext.xml" />
+      <xi:include href="temp-system/ncurses.xml" />
+      <xi:include href="temp-system/patch.xml" />
+      <xi:include href="temp-system/tar.xml" />
+      <xi:include href="temp-system/bash.xml" />
+    </stage>
   </stage>
 </alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/bash.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/bash.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/bash.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="bash" version="&bash-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&bash-md5;</digest>
+        <archive>&packages_dir;/&bash-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&bash-directory;</base>
+      </stageinfo>
+      <copy>
+	<option>preserve</option>
+	<source>Makefile.in</source>
+	<destination>Makefile.in.orig</destination>
+      </copy>
+      <execute command="sed">
+	<param>"s at size \$(Program)@${LFS_TARGET}-&real-amp;@g"</param>
+	<param>Makefile.in</param>
+      </execute>
+      <patch>
+	<param>-N</param>
+	<param>-p1</param>
+	<param>-i &packages_dir;/&bash-wcontinued-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&bash-directory;</base>
+      </stageinfo>
+      
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--with-curses</param>
+	<param>--without-bash-malloc</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+      <link>
+	<option>force</option>
+	<target>bash</target>
+	<name>/tools/bin/sh</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&bash-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Copied: profiles/LFS/branches/cross-lfs/temp-system/binutils.xml (from rev 1938, profiles/LFS/trunk/chapter05/binutils-pass1.xml)
===================================================================
--- profiles/LFS/trunk/chapter05/binutils-pass1.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/binutils.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="binutils" version="&binutils-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&binutils-md5;</digest>
+        <archive>&packages_dir;/&binutils-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+      <mkdir base="&build_dir;">
+        <option>parents</option>
+        <name>binutils-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&binutils-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-N</param>
+	<param>-p1</param>
+	<param>-i &packages_dir;/&binutils-posix-patch;</param>
+      </patch>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/binutils-build</base>
+      </stageinfo>
+      <configure command="../&binutils-directory;/configure">
+        <param>--prefix=/tools</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--disable-nls</param>
+	<param>--enable-shared</param>
+	<param>--enable-64-bit-bfd</param>
+      </configure>
+      <make>
+	<param>configure-host</param>
+      </make>
+      <make>
+	<param>headers -C bfd</param>
+      </make>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&binutils-directory;</remove>
+      <remove>&build_dir;/binutils-build</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/bzip2.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/bzip2.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/bzip2.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="bzip2" version="&bzip2-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&bzip2-md5;</digest>
+        <archive>&packages_dir;/&bzip2-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&bzip2-directory;</base>
+      </stageinfo>
+      <execute command="sed">
+	<param>-i</param>
+	<param>'s@^\(all:.*\) test@\1 at g'</param>
+	<param>Makefile</param>
+      </execute>
+      <make>
+	<param>CC="${CC}"</param>
+	<param>AR="${AR}"</param>
+	<param>RANLIB="${RANLIB}"</param>
+      </make>
+      <make>
+	<param>PREFIX=/tools</param>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&bzip2-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/coreutils.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/coreutils.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/coreutils.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="coreutils" version="&coreutils-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&coreutils-md5;</digest>
+        <archive>&packages_dir;/&coreutils-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&coreutils-directory;</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =utils_cv_sys_open_max=1024
+	</content>
+      </textdump>
+      <configure>
+	<prefix>DEFAULT_POSIX2_VERSION=199209</prefix>
+        <param>--prefix=/tools</param>
+	<param>--cache-file=config.cache</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&coreutils-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/diffutils.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/diffutils.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/diffutils.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="diffutils" version="&diffutils-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&diffutils-md5;</digest>
+        <archive>&packages_dir;/&diffutils-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&diffutils-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&diffutils-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/findutils.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/findutils.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/findutils.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="findutils" version="&findutils-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&findutils-md5;</digest>
+        <archive>&packages_dir;/&findutils-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&findutils-directory;</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&findutils-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/gawk.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/gawk.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/gawk.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="gawk" version="&gawk-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&gawk-md5;</digest>
+        <archive>&packages_dir;/&gawk-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&gawk-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gawk-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/gcc.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/gcc.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/gcc.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="gcc" version="&gcc-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&gcc-md5;</digest>
+        <archive>&packages_dir;/&gcc-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+      <mkdir base="&build_dir;">
+        <option>parents</option>
+        <name>gcc-build</name>
+      </mkdir>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&gcc-directory;</base>
+      </stageinfo>
+      <patch>
+	<param>-N</param>
+	<param>-p1</param>
+	<param>-i &packages_dir;/&gcc-specs-patch;</param>
+      </patch>
+      <patch>
+	<param>-N</param>
+	<param>-p1</param>
+	<param>-i &packages_dir;/&gcc-posix-patch;</param>
+      </patch>
+      <patch>
+	<param>-N</param>
+	<param>-p1</param>
+	<param>-i &packages_dir;/&gcc-fix-native-patch;</param>
+      </patch>
+      <textdump mode="append">
+	<file>gcc/config/linux.h</file>
+	<content>
+	  =
+	  =#undef STARTFILE_PREFIX_SPEC
+	  =#define STARTFILE_PREFIX_SPEC "/tools/lib/"
+	</content>
+      </textdump>
+      <execute command="sed">
+	<param>-i</param>
+	<param>'/#define STANDARD_INCLUDE_DIR/s@"/usr/include"@0 at g'</param>
+	<param>gcc/cppdefault.c</param>
+      </execute>
+      <execute command="sed">
+	<param>-i</param>
+	<param>'s@\(^NATIVE_SYSTEM_HEADER_DIR =\).*@\1 /tools/include at g'</param>
+	<param>gcc/Makefile.in</param>
+      </execute>
+      <execute command="sed">
+	<param>-i</param>
+	<param>"s@\./xgcc@/cross-tools/bin/${LFS_TARGET}-gcc at g"</param>
+	<param>gcc/mklibgcc.in</param>
+      </execute>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/gcc-build</base>
+      </stageinfo>
+      <configure command="../&gcc-directory;/configure">
+        <param>--prefix=/tools</param>
+	<param>--build=${LFS_HOST}</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--target=${LFS_TARGET}</param>
+	<param>--libexecdir=/tools/lib</param>
+	<param>--with-local-prefix=/tools</param>
+	<param>--enable-c99</param>
+	<param>--enable-shared</param>
+	<param>--enable-threads=posix</param>
+	<param>--enable-__cxa_atexit</param>
+	<param>--disable-nls</param>
+	<param>--enable-languages=c,c++</param>
+	<param>--disable-libstdcxx-pch</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+      <link>
+	<option>force</option>
+	<target>gcc</target>
+	<name>/tools/bin/cc</name>
+      </link>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gcc-directory;</remove>
+      <remove>&build_dir;/gcc-build</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/gettext.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/gettext.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/gettext.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="gettext" version="&gettext-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&gettext-md5;</digest>
+        <archive>&packages_dir;/&gettext-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&gettext-directory;</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-libasprintf</param>
+	<param>--without-csharp</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gettext-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/grep.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/grep.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/grep.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="grep" version="&grep-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&grep-md5;</digest>
+        <archive>&packages_dir;/&grep-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&grep-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--disable-perl-regexp</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&grep-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/gzip.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/gzip.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/gzip.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="gzip" version="&gzip-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&gzip-md5;</digest>
+        <archive>&packages_dir;/&gzip-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&gzip-directory;</base>
+      </stageinfo>
+      <execute command="sed">
+	<param>-i</param>
+	<param>"s at nm conftest@${LFS_TARGET}-&real-amp;@"</param>
+	<param>configure</param>
+      </execute>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&gzip-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/make.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/make.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/make.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="make" version="&make-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&make-md5;</digest>
+        <archive>&packages_dir;/&make-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&make-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&make-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/ncurses.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/ncurses.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/ncurses.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="ncurses" version="&ncurses-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&ncurses-md5;</digest>
+        <archive>&packages_dir;/&ncurses-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Patching">
+      <stageinfo>
+	<base>&build_dir;/&ncurses-directory;</base>
+      </stageinfo>
+      <execute command="bzcat">
+	<param>&packages_dir;/&ncurses-fixes-patch-package;</param>
+	<param>> update.sh</param>
+      </execute>
+      <execute command="sh update.sh" />
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&ncurses-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--with-shared</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--without-debug</param>
+	<param>--without-ada</param>
+	<param>--enable-overwrite</param>
+	<param>--with-build-cc=gcc</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&ncurses-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/patch.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/patch.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/patch.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="patch" version="&patch-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&patch-md5;</digest>
+        <archive>&packages_dir;/&patch-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&patch-directory;</base>
+      </stageinfo>
+      <configure>
+	<prefix>CPPFLAGS=-D_GNU_SOURCE</prefix>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&patch-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/sed.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/sed.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/sed.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="sed" version="&sed-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&sed-md5;</digest>
+        <archive>&packages_dir;/&sed-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&sed-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&sed-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/tar.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/tar.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/tar.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="tar" version="&tar-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&tar-md5;</digest>
+        <archive>&packages_dir;/&tar-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&tar-directory;</base>
+      </stageinfo>
+      <textdump>
+	<file>config.cache</file>
+	<content>
+	  =am_cv_func_working_getline=yes
+	</content>
+      </textdump>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--host=${LFS_TARGET}</param>
+	<param>--cache-file=config.cache</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&tar-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/template.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/template.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/template.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="template" version="&template-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&template-md5;</digest>
+        <archive>&packages_dir;/&template-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&template-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&template-directory;</remove>
+    </stage>
+  </package>
+</alfs>

Added: profiles/LFS/branches/cross-lfs/temp-system/zlib.xml
===================================================================
--- profiles/LFS/branches/cross-lfs/temp-system/zlib.xml	2005-07-14 00:21:31 UTC (rev 1938)
+++ profiles/LFS/branches/cross-lfs/temp-system/zlib.xml	2005-07-14 18:51:55 UTC (rev 1939)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE alfs SYSTEM "../DTD/ALFS.dtd"
+[
+<!ENTITY % general_entities SYSTEM "../config/general.ent">
+<!ENTITY % package_entities SYSTEM "../config/package.ent">
+<!ENTITY % config_entities SYSTEM "../config/config.ent">
+
+%general_entities;
+%package_entities;
+%config_entities;
+]>
+<alfs>
+  <package name="zlib" version="&zlib-version;">
+    <stage name="Unpacking">
+      <unpack>
+        <digest>&zlib-md5;</digest>
+        <archive>&packages_dir;/&zlib-package;</archive>
+        <destination>&build_dir;</destination>
+      </unpack>
+    </stage>
+    <stage name="Installing">
+      <stageinfo>
+        <base>&build_dir;/&zlib-directory;</base>
+      </stageinfo>
+      <configure>
+        <param>--prefix=/tools</param>
+	<param>--shared</param>
+      </configure>
+      <make />
+      <make>
+        <param>install</param>
+      </make>
+    </stage>
+    <stage name="Cleanup">
+      <remove>&build_dir;/&zlib-directory;</remove>
+    </stage>
+  </package>
+</alfs>




More information about the alfs-log mailing list