1.1 --- a/scripts/build/tools/sstrip.sh Mon Jun 04 17:35:14 2007 +0000
1.2 +++ b/scripts/build/tools/sstrip.sh Sat Jun 16 18:08:14 2007 +0000
1.3 @@ -4,6 +4,9 @@
1.4
1.5 case "${CT_SSTRIP_FROM}" in
1.6 ELFkickers)
1.7 + do_print_filename() {
1.8 + echo "ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}"
1.9 + }
1.10 do_tools_sstrip_get() {
1.11 CT_GetFile "ELFkickers-${CT_SSTRIP_ELFKICKERS_VERSION}" \
1.12 http://www.muppetlabs.com/~breadbox/pub/software
1.13 @@ -29,16 +32,17 @@
1.14
1.15 buildroot)
1.16 sstrip_url='http://buildroot.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/sstrip/sstrip.c'
1.17 + do_print_filename() {
1.18 + echo "sstrip.c"
1.19 + }
1.20 do_tools_sstrip_get() {
1.21 # With this one, we must handle the download by ourselves,
1.22 # we can't leave the job to the classic CT_GetFile.
1.23 - if [ -f "${CT_SRC_DIR}/sstrip/sstrip.c" ]; then
1.24 + if [ -f "${CT_TARBALLS_DIR}/sstrip.c" ]; then
1.25 return 0
1.26 fi
1.27 - CT_Pushd "${CT_SRC_DIR}"
1.28 + CT_Pushd "${CT_TARBALLS_DIR}"
1.29 CT_DoLog EXTRA "Retrieving \"sstrip\" (from buildroot's svn)"
1.30 - mkdir -p sstrip
1.31 - cd sstrip
1.32 http_data=`lynx -dump "${sstrip_url}"`
1.33 link=`echo -en "${http_data}" \
1.34 |egrep '\[[[:digit:]]+\]download' \
1.35 @@ -52,7 +56,8 @@
1.36 }
1.37 do_tools_sstrip_extract() {
1.38 # We'll let buildroot guys take care of sstrip maintenance and patching.
1.39 - :
1.40 + mkdir -p "${CT_SRC_DIR}/sstrip"
1.41 + cp -v "${CT_TARBALLS_DIR}/sstrip.c" "${CT_SRC_DIR}/sstrip" |CT_DoLog ALL
1.42 }
1.43 do_tools_sstrip_build() {
1.44 CT_DoStep INFO "Installing sstrip"
1.45 @@ -68,4 +73,18 @@
1.46 CT_EndStep
1.47 }
1.48 ;;
1.49 +
1.50 + *) do_print_filename() {
1.51 + :
1.52 + }
1.53 + do_tools_sstrip_get() {
1.54 + :
1.55 + }
1.56 + do_tools_sstrip_extract() {
1.57 + :
1.58 + }
1.59 + do_tools_sstrip_build() {
1.60 + :
1.61 + }
1.62 + ;;
1.63 esac