| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2013 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 | 6 |
| 9 export EXTRA_LIBS="-ltar -lppapi_simple -lnacl_io \ | 7 export EXTRA_LIBS="-ltar -lppapi_simple -lnacl_io \ |
| 10 -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" | 8 -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" |
| 11 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix=" | 9 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix=" |
| 12 | 10 |
| 13 PatchStep() { | 11 PatchStep() { |
| 14 DefaultPatchStep | 12 DefaultPatchStep |
| 15 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} | 13 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} |
| 16 cp ${START_DIR}/nano_pepper.c src/nano_pepper.c | 14 cp ${START_DIR}/nano_pepper.c src/nano_pepper.c |
| 17 } | 15 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 37 LogExecute python ${TOOLS_DIR}/create_term.py nano.nmf | 35 LogExecute python ${TOOLS_DIR}/create_term.py nano.nmf |
| 38 | 36 |
| 39 InstallNaClTerm ${ASSEMBLY_DIR} | 37 InstallNaClTerm ${ASSEMBLY_DIR} |
| 40 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} | 38 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} |
| 41 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} | 39 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} |
| 42 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} | 40 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} |
| 43 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} | 41 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} |
| 44 ChangeDir ${PUBLISH_DIR} | 42 ChangeDir ${PUBLISH_DIR} |
| 45 LogExecute zip -r nano-7.3.zip nano | 43 LogExecute zip -r nano-7.3.zip nano |
| 46 } | 44 } |
| 47 | |
| 48 PackageInstall | |
| 49 exit 0 | |
| OLD | NEW |