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

Side by Side Diff: ports/dosbox/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/curl/build.sh ('k') | ports/dreadthread/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 DOSBOX_EXAMPLE_DIR=${NACL_SRC}/ports/dosbox-0.74 7 DOSBOX_EXAMPLE_DIR=${NACL_SRC}/ports/dosbox-0.74
10 EXECUTABLES=src/dosbox${NACL_EXEEXT} 8 EXECUTABLES=src/dosbox${NACL_EXEEXT}
11 9
12 ConfigureStep() { 10 ConfigureStep() {
13 Banner "Configuring ${PACKAGE_NAME}" 11 Banner "Configuring ${PACKAGE_NAME}"
14 12
15 # export the nacl tools 13 # export the nacl tools
16 export CC=${NACLCC} 14 export CC=${NACLCC}
17 export CXX=${NACLCXX} 15 export CXX=${NACLCXX}
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 InstallStep(){ 71 InstallStep(){
74 DOSBOX_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 72 DOSBOX_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
75 DOSBOX_BUILD=${DOSBOX_DIR}/${NACL_BUILD_SUBDIR} 73 DOSBOX_BUILD=${DOSBOX_DIR}/${NACL_BUILD_SUBDIR}
76 MakeDir ${PUBLISH_DIR} 74 MakeDir ${PUBLISH_DIR}
77 LogExecute install ${START_DIR}/dosbox.html ${PUBLISH_DIR} 75 LogExecute install ${START_DIR}/dosbox.html ${PUBLISH_DIR}
78 LogExecute install ${DOSBOX_BUILD}/src/dosbox${NACL_EXEEXT} \ 76 LogExecute install ${DOSBOX_BUILD}/src/dosbox${NACL_EXEEXT} \
79 ${PUBLISH_DIR}/dosbox_${NACL_ARCH}${NACL_EXEEXT} 77 ${PUBLISH_DIR}/dosbox_${NACL_ARCH}${NACL_EXEEXT}
80 local CREATE_NMF="${NACL_SDK_ROOT}/tools/create_nmf.py" 78 local CREATE_NMF="${NACL_SDK_ROOT}/tools/create_nmf.py"
81 LogExecute ${CREATE_NMF} -s ${PUBLISH_DIR} ${PUBLISH_DIR}/dosbox_*${NACL_EXEEX T} -o ${PUBLISH_DIR}/dosbox.nmf 79 LogExecute ${CREATE_NMF} -s ${PUBLISH_DIR} ${PUBLISH_DIR}/dosbox_*${NACL_EXEEX T} -o ${PUBLISH_DIR}/dosbox.nmf
82 } 80 }
83
84
85 PackageInstall
86 exit 0
OLDNEW
« no previous file with comments | « ports/curl/build.sh ('k') | ports/dreadthread/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698