Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Mar 08 11:15:58 2009 +0000 (2009-03-08)
changeset 124596d74832c40b
parent 1244 ea45530f42c1
child 1246 aa674ae58972
Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,
extract and patch sstrip from buildroot.

/trunk/scripts/build/tools/200-sstrip.sh | 16 3 13 0 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
scripts/build/tools/200-sstrip.sh
     1.1 --- a/scripts/build/tools/200-sstrip.sh	Sun Mar 08 11:14:54 2009 +0000
     1.2 +++ b/scripts/build/tools/200-sstrip.sh	Sun Mar 08 11:15:58 2009 +0000
     1.3 @@ -28,21 +28,11 @@
     1.4  
     1.5      buildroot)
     1.6          do_tools_sstrip_get() {
     1.7 -            # We have to retrieve sstrip.c from a viewVC web interface. This
     1.8 -            # is not handled by the common CT_GetFile, thus we must take all
     1.9 -            # steps taken by CT_GetFile ourselves:
    1.10 -
    1.11 -            CT_GetLocal sstrip .c && return 0 || true
    1.12 -            CT_TestAndAbort "File '${file}' not present locally, and downloads are not allowed" "${CT_FORBID_DOWNLOAD}" = "y"
    1.13 -            CT_DoLog EXTRA "Retrieving 'sstrip'"
    1.14 -            CT_DoGetFile "http://sources.busybox.net/index.py/trunk/buildroot/toolchain/sstrip/sstrip.c?view=co"
    1.15 -            mv "sstrip.c?view=co" "${CT_TARBALLS_DIR}/sstrip.c"
    1.16 -            CT_SaveLocal "${CT_TARBALLS_DIR}/sstrip.c"
    1.17 +            CT_GetSVN sstrip svn://uclibc.org/trunk/buildroot/toolchain/sstrip
    1.18          }
    1.19          do_tools_sstrip_extract() {
    1.20 -            # We'll let buildroot guys take care of sstrip maintenance and patching.
    1.21 -            mkdir -p "${CT_SRC_DIR}/sstrip"
    1.22 -            CT_DoExecLog ALL cp -v "${CT_TARBALLS_DIR}/sstrip.c" "${CT_SRC_DIR}/sstrip"
    1.23 +            CT_Extract sstrip
    1.24 +            CT_Patch sstrip
    1.25          }
    1.26          do_tools_sstrip_build() {
    1.27              CT_DoStep INFO "Installing sstrip"