OLD | NEW |
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 # nacl-x264-snapshot-20091023-2245.sh | 6 # nacl-x264-snapshot-20091023-2245.sh |
7 # | 7 # |
8 # usage: nacl-x264-snapshot-20091023-2245.sh | 8 # usage: nacl-x264-snapshot-20091023-2245.sh |
9 # | 9 # |
10 # this script downloads, patches, and builds x264 for Native Client | 10 # this script downloads, patches, and builds x264 for Native Client |
(...skipping 13 matching lines...) Expand all Loading... |
24 export CC=${NACLCC} | 24 export CC=${NACLCC} |
25 export CXX=${NACLCXX} | 25 export CXX=${NACLCXX} |
26 export AR=${NACLAR} | 26 export AR=${NACLAR} |
27 export RANLIB=${NACLRANLIB} | 27 export RANLIB=${NACLRANLIB} |
28 export PKG_CONFIG_PATH=${NACL_SDK_USR_LIB}/pkgconfig | 28 export PKG_CONFIG_PATH=${NACL_SDK_USR_LIB}/pkgconfig |
29 export PKG_CONFIG_LIBDIR=${NACL_SDK_USR_LIB} | 29 export PKG_CONFIG_LIBDIR=${NACL_SDK_USR_LIB} |
30 export PATH=${NACL_BIN_PATH}:${PATH}; | 30 export PATH=${NACL_BIN_PATH}:${PATH}; |
31 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} | 31 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} |
32 | 32 |
33 local naclhost | 33 local naclhost |
34 if [ "${NACL_PACKAGES_BITSIZE}" == pnacl ]; then | 34 if [ "${NACL_ARCH}" = pnacl ]; then |
35 naclhost=pnacl | 35 naclhost=pnacl |
36 else | 36 else |
37 naclhost=x86-nacl-linux | 37 naclhost=x86-nacl-linux |
38 fi | 38 fi |
39 | 39 |
40 echo " ./configure \ | 40 echo " ./configure \ |
41 --cross-prefix=${NACL_CROSS_PREFIX} \ | 41 --cross-prefix=${NACL_CROSS_PREFIX} \ |
42 --disable-asm \ | 42 --disable-asm \ |
43 --disable-pthread \ | 43 --disable-pthread \ |
44 --prefix=${NACL_SDK_USR} \ | 44 --prefix=${NACL_SDK_USR} \ |
(...skipping 21 matching lines...) Expand all Loading... |
66 DefaultPatchStep | 66 DefaultPatchStep |
67 CustomConfigureStep | 67 CustomConfigureStep |
68 DefaultBuildStep | 68 DefaultBuildStep |
69 DefaultInstallStep | 69 DefaultInstallStep |
70 DefaultCleanUpStep | 70 DefaultCleanUpStep |
71 } | 71 } |
72 | 72 |
73 | 73 |
74 CustomPackageInstall | 74 CustomPackageInstall |
75 exit 0 | 75 exit 0 |
OLD | NEW |