cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_requires.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri May 28 20:31:39 PDT 2004


jwrober     04/05/28 21:31:39

  Modified:    docs/syntax_doc/alfs_dtd elem_requires.xml
  Log:
  * cleanup
  
  Revision  Changes    Path
  1.8       +2 -40     ALFS/docs/syntax_doc/alfs_dtd/elem_requires.xml
  
  Index: elem_requires.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_requires.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- elem_requires.xml	23 Feb 2004 03:53:51 -0000	1.7
  +++ elem_requires.xml	29 May 2004 03:31:39 -0000	1.8
  @@ -24,7 +24,7 @@
   <title>Description</title>
   
   <para>The element <filename>requires</filename> denotes a dependency
  -between two packages : the package containg the
  +between two packages. The package containg the
   <filename>requires</filename> element depends on the package whose name is
   contained in the <filename>name</filename> sub-element.</para>
   
  @@ -36,45 +36,7 @@
   <sect2>
   <title>Examples</title>
   
  -<screen><userinput><package name="librep" version="0.16.1">
  -	<packageinfo>
  -		<requires><name>gmp</name></requires>
  -		<requires><name>gdbm</name></requires>
  -	</packageinfo>
  -
  -	<stage name="Unpacking a package.">
  -		<unpack>
  -			<archive>librep-0.16.1/librep-0.16.1.tar.gz</archive>
  -			<destination>/usr/src</destination>
  -		</unpack>
  -	</stage>
  -
  -	......
  -
  -</package></userinput></screen>
  -
  -<para>The equivalent bash script is :</para>
  -
  -<screen><userinput>#-----------------------------------------
  -# processing package librep 0.16.1
  -
  -echo Generating package librep 0.16.1
  -
  -[[ ! -f ${NALFS_STAMP_DIR:-/var/log/nALFS}/gmp]] && echo Stamp of package gmp missing && exit 3
  -[[ ! -f ${NALFS_STAMP_DIR:-/var/log/nALFS}/gdbm]] && echo Stamp of package gdbm missing && exit 3
  -
  -#-----------------------------------------
  -echo Stage "Unpacking a package."
  -
  -echo Unpacking librep-0.16.1/librep-0.16.1.tar.gz into /usr/src
  -cd /usr/src
  -<command>tar xzvf librep-0.16.1/librep-0.16.1.tar.gz</command>
  -
  -echo Exiting stage "Unpacking a package."
  -
  -....
  -
  -echo End of generating package librep 0.16.1</userinput></screen>
  +<para>Refer to <xref linkend="elem_packageinfo"/> for an example.</para>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list