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

Side by Side Diff: ports/bash/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/apr/build.sh ('k') | ports/bochs/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) 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_CONFIGURE_ARGS="--prefix= --exec-prefix=" 7 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix="
10 export EXTRA_CONFIGURE_ARGS="${EXTRA_CONFIGURE_ARGS} --with-curses" 8 export EXTRA_CONFIGURE_ARGS="${EXTRA_CONFIGURE_ARGS} --with-curses"
11 9
12 export EXTRA_LIBS="-ltar -lppapi_simple -lnacl_io -lppapi -lppapi_cpp" 10 export EXTRA_LIBS="-ltar -lppapi_simple -lnacl_io -lppapi -lppapi_cpp"
13 CONFIG_SUB=support/config.sub 11 CONFIG_SUB=support/config.sub
14 12
15 PatchStep() { 13 PatchStep() {
16 DefaultPatchStep 14 DefaultPatchStep
17 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} 15 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
(...skipping 26 matching lines...) Expand all
44 LogExecute python ${TOOLS_DIR}/create_term.py bash.nmf 42 LogExecute python ${TOOLS_DIR}/create_term.py bash.nmf
45 43
46 InstallNaClTerm ${ASSEMBLY_DIR} 44 InstallNaClTerm ${ASSEMBLY_DIR}
47 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} 45 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR}
48 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} 46 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR}
49 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} 47 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR}
50 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} 48 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR}
51 ChangeDir ${PUBLISH_DIR} 49 ChangeDir ${PUBLISH_DIR}
52 LogExecute zip -r bash-7.3.zip bash 50 LogExecute zip -r bash-7.3.zip bash
53 } 51 }
54
55 PackageInstall
56 exit 0
OLDNEW
« no previous file with comments | « ports/apr/build.sh ('k') | ports/bochs/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698