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

Side by Side Diff: libraries/pixman-0.16.2/nacl-pixman-0.16.2.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/pango-1.29.3/nacl-pango-1.29.3.sh ('k') | libraries/tinyxml/nacl-tinyxml.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 6
7 # nacl-pixman-0.16.2.sh 7 # nacl-pixman-0.16.2.sh
8 # 8 #
9 # usage: nacl-pixman-0.16.2.sh 9 # usage: nacl-pixman-0.16.2.sh
10 # 10 #
11 # this script downloads, patches, and builds pixman for Native Client 11 # this script downloads, patches, and builds pixman 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 CustomConfigureStep() { 17 CustomConfigureStep() {
18 Banner "Configuring ${PACKAGE_NAME}" 18 Banner "Configuring ${PACKAGE_NAME}"
19 # export the nacl tools 19 # export the nacl tools
20 export CC=${NACLCC} 20 export CC=${NACLCC}
21 export CXX=${NACLCXX} 21 export CXX=${NACLCXX}
22 export AR=${NACLAR} 22 export AR=${NACLAR}
23 export RANLIB=${NACLRANLIB} 23 export RANLIB=${NACLRANLIB}
24 export PKG_CONFIG_PATH=${NACL_SDK_USR_LIB}/pkgconfig 24 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
25 export PKG_CONFIG_LIBDIR=${NACL_SDK_USR_LIB} 25 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
26 export PATH=${NACL_BIN_PATH}:${PATH}; 26 export PATH=${NACL_BIN_PATH}:${PATH};
27 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 27 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
28 Remove ${PACKAGE_NAME}-build 28 Remove ${PACKAGE_NAME}-build
29 MakeDir ${PACKAGE_NAME}-build 29 MakeDir ${PACKAGE_NAME}-build
30 cd ${PACKAGE_NAME}-build 30 cd ${PACKAGE_NAME}-build
31 PERL=/bin/true \ 31 PERL=/bin/true \
32 ../configure \ 32 ../configure \
33 --host=nacl \ 33 --host=nacl \
34 --disable-shared \ 34 --disable-shared \
35 --prefix=${NACL_SDK_USR} \ 35 --prefix=${NACLPORTS_PREFIX} \
36 --exec-prefix=${NACL_SDK_USR} \ 36 --exec-prefix=${NACLPORTS_PREFIX} \
37 --libdir=${NACL_SDK_USR_LIB} \ 37 --libdir=${NACLPORTS_LIBDIR} \
38 --oldincludedir=${NACL_SDK_USR_INCLUDE} \ 38 --oldincludedir=${NACLPORTS_INCLUDE} \
39 --with-http=off \ 39 --with-http=off \
40 --with-html=off \ 40 --with-html=off \
41 --with-ftp=off \ 41 --with-ftp=off \
42 --with-x=no \ 42 --with-x=no \
43 --${NACL_OPTION}-mmx \ 43 --${NACL_OPTION}-mmx \
44 --${NACL_OPTION}-sse2 44 --${NACL_OPTION}-sse2
45 } 45 }
46 46
47 47
48 CustomPackageInstall() { 48 CustomPackageInstall() {
49 DefaultPreInstallStep 49 DefaultPreInstallStep
50 DefaultDownloadStep 50 DefaultDownloadStep
51 DefaultExtractStep 51 DefaultExtractStep
52 DefaultPatchStep 52 DefaultPatchStep
53 CustomConfigureStep 53 CustomConfigureStep
54 DefaultBuildStep 54 DefaultBuildStep
55 DefaultInstallStep 55 DefaultInstallStep
56 DefaultCleanUpStep 56 DefaultCleanUpStep
57 } 57 }
58 58
59 59
60 CustomPackageInstall 60 CustomPackageInstall
61 exit 0 61 exit 0
OLDNEW
« no previous file with comments | « libraries/pango-1.29.3/nacl-pango-1.29.3.sh ('k') | libraries/tinyxml/nacl-tinyxml.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698