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

Side by Side Diff: ports/openssl/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/openssh/build.sh ('k') | ports/pango/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 ConfigureStep() { 7 ConfigureStep() {
10 Banner "Configuring ${PACKAGE_NAME}" 8 Banner "Configuring ${PACKAGE_NAME}"
11 local EXTRA_ARGS="" 9 local EXTRA_ARGS=""
12 local machine="i686" 10 local machine="i686"
13 if [ "${NACL_GLIBC}" != "1" ] ; then 11 if [ "${NACL_GLIBC}" != "1" ] ; then
14 local GLIBC_COMPAT=${NACLPORTS_INCLUDE}/glibc-compat 12 local GLIBC_COMPAT=${NACLPORTS_INCLUDE}/glibc-compat
15 if [ ! -f ${GLIBC_COMPAT}/netdb.h ]; then 13 if [ ! -f ${GLIBC_COMPAT}/netdb.h ]; then
16 echo "Please install glibc-compat first" 14 echo "Please install glibc-compat first"
17 exit 1 15 exit 1
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 # Plain make works better and doesn't muck with CC, etc. 78 # Plain make works better and doesn't muck with CC, etc.
81 # Otherwise, we end up missing -ldl for GLIBC... 79 # Otherwise, we end up missing -ldl for GLIBC...
82 make 80 make
83 fi 81 fi
84 for test_name in ${passing_tests}; do 82 for test_name in ${passing_tests}; do
85 RunSelLdrCommand ${test_name} 83 RunSelLdrCommand ${test_name}
86 done 84 done
87 RunSelLdrCommand evp_test evptests.txt 85 RunSelLdrCommand evp_test evptests.txt
88 popd 86 popd
89 } 87 }
90
91
92 PackageInstall
93 exit 0
OLDNEW
« no previous file with comments | « ports/openssh/build.sh ('k') | ports/pango/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698