| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 EXECUTABLES=src/nethack | 7 EXECUTABLES=src/nethack |
| 10 | 8 |
| 11 BuildStep() { | 9 BuildStep() { |
| 12 Banner "Building ${PACKAGE_NAME}" | 10 Banner "Building ${PACKAGE_NAME}" |
| 13 # export the nacl tools | 11 # export the nacl tools |
| 14 export CC=${NACLCC} | 12 export CC=${NACLCC} |
| 15 export CXX=${NACLCXX} | 13 export CXX=${NACLCXX} |
| 16 # NOTE: we are using the non-standard vars NACL_CCFLAGS/NACL_LDFLAGS | 14 # NOTE: we are using the non-standard vars NACL_CCFLAGS/NACL_LDFLAGS |
| 17 # because we are not running ./configure and the Makefile was hacked | 15 # because we are not running ./configure and the Makefile was hacked |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 87 |
| 90 InstallNaClTerm ${ASSEMBLY_DIR} | 88 InstallNaClTerm ${ASSEMBLY_DIR} |
| 91 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} | 89 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} |
| 92 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} | 90 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} |
| 93 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} | 91 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} |
| 94 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} | 92 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} |
| 95 ChangeDir ${PUBLISH_DIR} | 93 ChangeDir ${PUBLISH_DIR} |
| 96 LogExecute zip -r nethack-3.4.3.zip nethack | 94 LogExecute zip -r nethack-3.4.3.zip nethack |
| 97 ChangeDir ${PACKAGE_DIR} | 95 ChangeDir ${PACKAGE_DIR} |
| 98 } | 96 } |
| 99 | |
| 100 PackageInstall | |
| 101 exit 0 | |
| OLD | NEW |