| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | |
| 9 BusyBoxDisable() { | 6 BusyBoxDisable() { |
| 10 # Switch one option in the busybox config from yes to no. | 7 # Switch one option in the busybox config from yes to no. |
| 11 sed -i "s/$*=y/$*=n/" .config | 8 sed -i "s/$*=y/$*=n/" .config |
| 12 } | 9 } |
| 13 | 10 |
| 14 ConfigureStep() { | 11 ConfigureStep() { |
| 15 Banner "Configuring ${PACKAGE_NAME}" | 12 Banner "Configuring ${PACKAGE_NAME}" |
| 16 | 13 |
| 17 local SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} | 14 local SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} |
| 18 local DEFAULT_BUILD_DIR=${SRC_DIR}/${NACL_BUILD_SUBDIR} | 15 local DEFAULT_BUILD_DIR=${SRC_DIR}/${NACL_BUILD_SUBDIR} |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 LogExecute python ${TOOLS_DIR}/create_term.py busybox.nmf | 78 LogExecute python ${TOOLS_DIR}/create_term.py busybox.nmf |
| 82 | 79 |
| 83 InstallNaClTerm ${ASSEMBLY_DIR} | 80 InstallNaClTerm ${ASSEMBLY_DIR} |
| 84 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} | 81 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} |
| 85 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} | 82 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} |
| 86 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} | 83 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} |
| 87 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} | 84 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} |
| 88 ChangeDir ${PUBLISH_DIR} | 85 ChangeDir ${PUBLISH_DIR} |
| 89 LogExecute zip -r busybox-1.22.0.zip busybox | 86 LogExecute zip -r busybox-1.22.0.zip busybox |
| 90 } | 87 } |
| 91 | |
| 92 PackageInstall | |
| 93 exit 0 | |
| OLD | NEW |