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

Side by Side Diff: libraries/zlib-1.2.3/nacl-zlib-1.2.3.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase Created 7 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 | « libraries/x264-snapshot-20091023-2245/nacl-x264-snapshot-20091023-2245.sh ('k') | no next file » | 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 6
7 # nacl-zlib-1.2.3.sh 7 # nacl-zlib-1.2.3.sh
8 # 8 #
9 # usage: nacl-zlib-1.2.3.sh 9 # usage: nacl-zlib-1.2.3.sh
10 # 10 #
11 # this script downloads, patches, and builds zlib for Native Client 11 # this script downloads, patches, and builds zlib for Native Client
12 # 12 #
13 13
14 source pkg_info 14 source pkg_info
15 source ../../build_tools/common.sh 15 source ../../build_tools/common.sh
16 16
17 17
18 CustomConfigureStep() { 18 CustomConfigureStep() {
19 Banner "Configuring ${PACKAGE_NAME}" 19 Banner "Configuring ${PACKAGE_NAME}"
20 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 20 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
21 # TODO: side-by-side install 21 # TODO: side-by-side install
22 CC=${NACLCC} AR="${NACLAR} -r" RANLIB=${NACLRANLIB} CFLAGS="-Dunlink=puts" ./c onfigure\ 22 CC=${NACLCC} AR="${NACLAR} -r" RANLIB=${NACLRANLIB} CFLAGS="-Dunlink=puts" ./c onfigure\
23 --prefix=${NACL_SDK_USR} 23 --prefix=${NACLPORTS_PREFIX}
24 } 24 }
25 25
26 26
27 CustomPackageInstall() { 27 CustomPackageInstall() {
28 DefaultPreInstallStep 28 DefaultPreInstallStep
29 DefaultDownloadStep 29 DefaultDownloadStep
30 DefaultExtractStep 30 DefaultExtractStep
31 # zlib doesn't need patching, so no patch step 31 # zlib doesn't need patching, so no patch step
32 CustomConfigureStep 32 CustomConfigureStep
33 DefaultBuildStep 33 DefaultBuildStep
34 DefaultInstallStep 34 DefaultInstallStep
35 DefaultCleanUpStep 35 DefaultCleanUpStep
36 } 36 }
37 37
38 38
39 CustomPackageInstall 39 CustomPackageInstall
40 exit 0 40 exit 0
OLDNEW
« no previous file with comments | « libraries/x264-snapshot-20091023-2245/nacl-x264-snapshot-20091023-2245.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698