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

Side by Side Diff: ports/ncurses/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/nano/build.sh ('k') | ports/netcat/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
7 source ../../build_tools/common.sh
8 6
9 EXTRA_CONFIGURE_ARGS="--disable-database" 7 EXTRA_CONFIGURE_ARGS="--disable-database"
10 EXTRA_CONFIGURE_ARGS+=" --with-fallbacks=xterm-256color,vt100" 8 EXTRA_CONFIGURE_ARGS+=" --with-fallbacks=xterm-256color,vt100"
11 EXTRA_CONFIGURE_ARGS+=" --disable-termcap" 9 EXTRA_CONFIGURE_ARGS+=" --disable-termcap"
12 # Without this ncurses headers will be installed include/ncurses 10 # Without this ncurses headers will be installed include/ncurses
13 EXTRA_CONFIGURE_ARGS+=" --enable-overwrite" 11 EXTRA_CONFIGURE_ARGS+=" --enable-overwrite"
14 12
15 if [ "${NACL_GLIBC}" = 1 ]; then 13 if [ "${NACL_GLIBC}" = 1 ]; then
16 EXTRA_CONFIGURE_ARGS+=" --with-shared" 14 EXTRA_CONFIGURE_ARGS+=" --with-shared"
17 fi 15 fi
(...skipping 17 matching lines...) Expand all
35 sed -i.bak 's/HAVE_SIGVEC 1/HAVE_SIGVEC 0/' include/ncurses_cfg.h 33 sed -i.bak 's/HAVE_SIGVEC 1/HAVE_SIGVEC 0/' include/ncurses_cfg.h
36 } 34 }
37 35
38 36
39 InstallStep() { 37 InstallStep() {
40 DefaultInstallStep 38 DefaultInstallStep
41 cd ${NACLPORTS_LIBDIR} 39 cd ${NACLPORTS_LIBDIR}
42 ln -sf libncurses.a libtermcap.a 40 ln -sf libncurses.a libtermcap.a
43 cd - 41 cd -
44 } 42 }
45
46
47 PackageInstall
48 exit 0
OLDNEW
« no previous file with comments | « ports/nano/build.sh ('k') | ports/netcat/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698