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

Side by Side Diff: ports/nano/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/mpg123/build.sh ('k') | ports/ncurses/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_LIBS="-ltar -lppapi_simple -lnacl_io \ 7 export EXTRA_LIBS="-ltar -lppapi_simple -lnacl_io \
10 -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" 8 -lppapi -lppapi_cpp -l${NACL_CPP_LIB}"
11 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix=" 9 export EXTRA_CONFIGURE_ARGS="--prefix= --exec-prefix="
12 10
13 PatchStep() { 11 PatchStep() {
14 DefaultPatchStep 12 DefaultPatchStep
15 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} 13 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
16 cp ${START_DIR}/nano_pepper.c src/nano_pepper.c 14 cp ${START_DIR}/nano_pepper.c src/nano_pepper.c
17 } 15 }
(...skipping 19 matching lines...) Expand all
37 LogExecute python ${TOOLS_DIR}/create_term.py nano.nmf 35 LogExecute python ${TOOLS_DIR}/create_term.py nano.nmf
38 36
39 InstallNaClTerm ${ASSEMBLY_DIR} 37 InstallNaClTerm ${ASSEMBLY_DIR}
40 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR} 38 LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR}
41 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} 39 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR}
42 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} 40 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR}
43 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} 41 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR}
44 ChangeDir ${PUBLISH_DIR} 42 ChangeDir ${PUBLISH_DIR}
45 LogExecute zip -r nano-7.3.zip nano 43 LogExecute zip -r nano-7.3.zip nano
46 } 44 }
47
48 PackageInstall
49 exit 0
OLDNEW
« no previous file with comments | « ports/mpg123/build.sh ('k') | ports/ncurses/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698