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

Side by Side Diff: ports/readline/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/python_ppapi/build.sh ('k') | ports/ruby/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) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 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 # readline has config.sub in a 'support' subfolder 7 # readline has config.sub in a 'support' subfolder
10 CONFIG_SUB=support/config.sub 8 CONFIG_SUB=support/config.sub
11 MAKEFLAGS+=" EXEEXT=.nexe" 9 MAKEFLAGS+=" EXEEXT=.nexe"
12 10
13 if [ "${NACL_GLIBC}" != "1" ]; then 11 if [ "${NACL_GLIBC}" != "1" ]; then
14 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 12 NACLPORTS_CFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
15 EXTRA_CONFIGURE_ARGS="--disable-shared" 13 EXTRA_CONFIGURE_ARGS="--disable-shared"
16 export LIBS=-lglibc-compat 14 export LIBS=-lglibc-compat
17 fi 15 fi
(...skipping 20 matching lines...) Expand all
38 36
39 37
40 PackageInstall() { 38 PackageInstall() {
41 DefaultPackageInstall 39 DefaultPackageInstall
42 if [ "${NACL_GLIBC}" = "1" ]; then 40 if [ "${NACL_GLIBC}" = "1" ]; then
43 cd ${NACLPORTS_LIBDIR} 41 cd ${NACLPORTS_LIBDIR}
44 ln -sf libreadline.so.6 libreadline.so 42 ln -sf libreadline.so.6 libreadline.so
45 cd - 43 cd -
46 fi 44 fi
47 } 45 }
48
49
50 PackageInstall
51 exit 0
OLDNEW
« no previous file with comments | « ports/python_ppapi/build.sh ('k') | ports/ruby/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698