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

Side by Side Diff: ports/x264/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/webp/build.sh ('k') | ports/xaos/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 6 BUILD_DIR=${SRC_DIR}
7 source ../../build_tools/common.sh
8
9 7
10 ConfigureStep() { 8 ConfigureStep() {
11 Banner "Configuring ${PACKAGE_NAME}" 9 Banner "Configuring ${PACKAGE_NAME}"
12 # export the nacl tools 10 # export the nacl tools
13 export CC=${NACLCC} 11 export CC=${NACLCC}
14 export CXX=${NACLCXX} 12 export CXX=${NACLCXX}
15 export AR=${NACLAR} 13 export AR=${NACLAR}
16 export RANLIB=${NACLRANLIB} 14 export RANLIB=${NACLRANLIB}
17 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig 15 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
18 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} 16 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
(...skipping 12 matching lines...) Expand all
31 --disable-asm \ 29 --disable-asm \
32 --disable-pthread \ 30 --disable-pthread \
33 --prefix=${NACLPORTS_PREFIX} \ 31 --prefix=${NACLPORTS_PREFIX} \
34 --exec-prefix=${NACLPORTS_PREFIX} \ 32 --exec-prefix=${NACLPORTS_PREFIX} \
35 --libdir=${NACLPORTS_LIBDIR} \ 33 --libdir=${NACLPORTS_LIBDIR} \
36 --extra-ldflags="-lm" \ 34 --extra-ldflags="-lm" \
37 --host=${conf_host} 35 --host=${conf_host}
38 36
39 make clean 37 make clean
40 } 38 }
41
42
43 PackageInstall
44 exit 0
OLDNEW
« no previous file with comments | « ports/webp/build.sh ('k') | ports/xaos/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698