Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: ports/nethack/build.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ports/netcat/build.sh ('k') | ports/openal-ogg/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ports/netcat/build.sh ('k') | ports/openal-ogg/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698