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

Side by Side Diff: ports/metakit/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/mesagl/build.sh ('k') | ports/mongoose/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 6
7 source pkg_info
8 source ../../build_tools/common.sh
9 7
10 export NACL_CONFIGURE_PATH=\ 8 export NACL_CONFIGURE_PATH=\
11 ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/unix/configure 9 ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/unix/configure
12 10
13 if [ ${NACL_GLIBC} != "1" ]; then 11 if [ ${NACL_GLIBC} != "1" ]; then
14 export EXTRA_CONFIGURE_ARGS="--disable-shared" 12 export EXTRA_CONFIGURE_ARGS="--disable-shared"
15 export MAKE_TARGETS="libmk4.a" 13 export MAKE_TARGETS="libmk4.a"
16 else 14 else
17 export MAKE_TARGETS="libmk4.so libmk4.a" 15 export MAKE_TARGETS="libmk4.so libmk4.a"
18 fi 16 fi
19 17
20 AutoconfStep() { 18 AutoconfStep() {
21 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 19 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
22 pushd unix 20 pushd unix
23 autoconf 21 autoconf
24 popd 22 popd
25 } 23 }
26 24
27 ConfigureStep() { 25 ConfigureStep() {
28 AutoconfStep 26 AutoconfStep
29 DefaultConfigureStep 27 DefaultConfigureStep
30 } 28 }
31
32 DefaultPackageInstall
33 exit 0
OLDNEW
« no previous file with comments | « ports/mesagl/build.sh ('k') | ports/mongoose/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698