cookutils rev 197

Update docs and tiny edits
author Paul Issott <paul@slitaz.org>
date Sat May 21 18:17:58 2011 +0100 (2011-05-21)
parents 164c58b2cdd0
children 273602356462
files cook cook.conf doc/cookutils.en.html
line diff
     1.1 --- a/cook	Sat May 21 15:02:03 2011 +0200
     1.2 +++ b/cook	Sat May 21 18:17:58 2011 +0100
     1.3 @@ -46,6 +46,7 @@
     1.4    --getsrc|-gs    Cook : $(gettext "get the package source tarball.")
     1.5    --block|-b      Cook : $(gettext "Block a package so cook will skip it.")
     1.6    --unblock|-ub   Cook : $(gettext "Unblock a blocked package.")
     1.7 +  --interactive   Cook : $(gettext "create a receipt interactively.")
     1.8    --wok|-w        Setup: $(gettext "create also a wok from Hg repo.")
     1.9  
    1.10  EOT
    1.11 @@ -841,7 +842,7 @@
    1.12  						echo "${i%:*}=$DEST$PACKAGE" >> $PKGS/packages.equiv
    1.13  					fi
    1.14  				done
    1.15 -				# files.list provide a list of all packages files.
    1.16 +				# files.list provides a list of all packages files.
    1.17  				cat $pkg/taz/*/files.list | sed s/^/"$pkg: \0"/ >> \
    1.18  					$PKGS/files.list
    1.19  			fi
     2.1 --- a/cook.conf	Sat May 21 15:02:03 2011 +0200
     2.2 +++ b/cook.conf	Sat May 21 18:17:58 2011 +0100
     2.3 @@ -26,7 +26,7 @@
     2.4  # Translation files to be included in packages.
     2.5  LOCALE=""
     2.6  
     2.7 -# Target host architecture type (Glibc dont support i386 anymore).
     2.8 +# Target host architecture type (Glibc doesn't support i386 anymore).
     2.9  ARCH="i486"
    2.10  
    2.11  # Build and host. These options are for cross-compiling. If you specify
    2.12 @@ -49,7 +49,7 @@
    2.13  # Default tool prefix for Binutils.
    2.14  TOOLPREFIX="${HOST_SYSTEM}-"
    2.15  
    2.16 -# Default arguments for GNU configure. CONFIGURE_ARGS is neede for some
    2.17 +# Default arguments for GNU configure. CONFIGURE_ARGS is needed for some
    2.18  # packages since --build and --host is not set at all by cook.site (bug ?).
    2.19  CONFIG_SITE=/etc/slitaz/cook.site
    2.20  CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
     3.1 --- a/doc/cookutils.en.html	Sat May 21 15:02:03 2011 +0200
     3.2 +++ b/doc/cookutils.en.html	Sat May 21 18:17:58 2011 +0100
     3.3 @@ -105,10 +105,12 @@
     3.4  <h3>Create and cook</h3>
     3.5  <p>
     3.6  	If your environment is setup correctly you can start creating and compiling
     3.7 -	SliTaz packages from your wok. To create a new package with an empty receipt:
     3.8 +	SliTaz packages from your wok. To create a new package with an empty receipt
     3.9 +	(you can also create a receipt interactively):
    3.10  </p>
    3.11  <pre>
    3.12  # cook new pkgname
    3.13 +# cook new pkgname --interactive
    3.14  </pre>
    3.15  <p>
    3.16  	If you have just created a new package, you'll have to edit the receipt with your