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

Side by Side Diff: ports/busybox/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/bullet/build.sh ('k') | ports/bzip2/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) 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
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
OLDNEW
« no previous file with comments | « ports/bullet/build.sh ('k') | ports/bzip2/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698