cookutils rev 647
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Feb 27 20:01:14 2014 +0000 (2014-02-27) |
parents | 3f5c9e87f05d |
children | 9298c9293ae0 |
files | README cook cooker lib/libcook.sh |
line diff
1.1 --- a/README Sun Feb 23 02:13:24 2014 +0100 1.2 +++ b/README Thu Feb 27 20:01:14 2014 +0000 1.3 @@ -124,7 +124,7 @@ 1.4 Cookutils lets you cross compile a package for a specific architecture. Say you 1.5 want to build ARM binaries from a standard i486 machine. Cookutils provides 1.6 helpers for the ARM platform, but the first thing to do is compile a cross 1.7 -toolchain and modify the main cook.conf variables to use a correct ARCH, CFLAGS 1.8 +toolchain and modify the main cook.conf variables to use the correct ARCH, CFLAGS 1.9 and BUILD_SYSTEM 1.10 1.11 Cook handles HOST_ARCH and CROSS_* receipt variables. Some packages won't build
2.1 --- a/cook Sun Feb 23 02:13:24 2014 +0100 2.2 +++ b/cook Thu Feb 27 20:01:14 2014 +0000 2.3 @@ -1,7 +1,7 @@ 2.4 #!/bin/sh 2.5 # 2.6 # Cook - A tool to cook and generate SliTaz packages. Read the README 2.7 -# before adding or modifing any code in cook! 2.8 +# before adding or modifying any code in cook! 2.9 # 2.10 # Copyright (C) SliTaz GNU/Linux - GNU gpl v3 2.11 # Author: Christophe Lincoln <pankso@slitaz.org> 2.12 @@ -427,7 +427,7 @@ 2.13 } 2.14 2.15 # Find and strip: --strip-all (-s) or --strip-debug on static libs as well 2.16 -# as removing uneeded files like in Python packages. Cross compiled binaries 2.17 +# as removing unneeded files like in Python packages. Cross compiled binaries 2.18 # must be stripped with cross-tools aka $ARCH-slitaz-*-strip 2.19 strip_package() { 2.20 case "$ARCH" in 2.21 @@ -1393,7 +1393,7 @@ 2.22 # Handle cross compilation. 2.23 # 2.24 # CROSS_NOTE: Actually we are running an ARM cooker but running 2.25 - # the cooker and build each commit in wok is not possible since 2.26 + # the cooker and building each commit in wok is not possible since 2.27 # we dont cook the full wok for this arch. For ARM we need a set 2.28 # of packages to handle a touch screen desktop, servers but not 2.29 # erlang. 2.30 @@ -1434,7 +1434,7 @@ 2.31 echo "cook:$pkg" > $command 2.32 2.33 # Display and log info if cook process stopped. 2.34 - # FIXME: gettext not worked (in single quotes) here! 2.35 + # FIXME: gettext not working (in single quotes) here! 2.36 trap '_ "\n\nCook stopped: control-C\n\n" | \ 2.37 tee -a $LOGS/$pkg.log' INT 2.38
3.1 --- a/cooker Sun Feb 23 02:13:24 2014 +0100 3.2 +++ b/cooker Thu Feb 27 20:01:14 2014 +0000 3.3 @@ -126,7 +126,7 @@ 3.4 fi 3.5 done 3.6 3.7 - # Keep a diff between submited cooklist and the ordered. 3.8 + # Keep a diff between submitted cooklist and the ordered. 3.9 diff $cooklist.0 $cooklist > $cooklist.diff 3.10 rm -f $cookorder $cookorder.diff $cooklist.0 3.11
4.1 --- a/lib/libcook.sh Sun Feb 23 02:13:24 2014 +0100 4.2 +++ b/lib/libcook.sh Thu Feb 27 20:01:14 2014 +0000 4.3 @@ -1,7 +1,7 @@ 4.4 #!/bin/sh 4.5 # 4.6 # Cook library - Shared configs and functions between cook, the cooker and 4.7 -# cookiso. Read the README before adding or modifing any code in libcook.sh! 4.8 +# cookiso. Read the README before adding or modifying any code in libcook.sh! 4.9 # 4.10 # Copyright (C) SliTaz GNU/Linux - GNU gpl v3 4.11 # Author: Christophe Lincoln <pankso@slitaz.org> 4.12 @@ -10,7 +10,7 @@ 4.13 . /usr/lib/slitaz/libpkg.sh 4.14 . /etc/slitaz/slitaz.conf 4.15 4.16 -# System wide config can be overwriten by a cook.conf in current path. 4.17 +# System wide config can be overwritten by a cook.conf in current path. 4.18 [ -f "/etc/slitaz/cook.conf" ] && . /etc/slitaz/cook.conf 4.19 [ -f "cook.conf" ] && . ./cook.conf 4.20