| 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 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 | 7 |
| 10 ConfigureStep() { | 8 ConfigureStep() { |
| 11 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig | 9 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig |
| 12 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} | 10 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} |
| 13 export PATH=${NACL_BIN_PATH}:${PATH}; | 11 export PATH=${NACL_BIN_PATH}:${PATH}; |
| 14 MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} | 12 MakeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} |
| 15 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} | 13 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}/${NACL_BUILD_SUBDIR} |
| 16 local extra_args="" | 14 local extra_args="" |
| 17 if [ "${NACL_ARCH}" = pnacl ]; then | 15 if [ "${NACL_ARCH}" = pnacl ]; then |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 65 |
| 68 PackageInstall() { | 66 PackageInstall() { |
| 69 PreInstallStep | 67 PreInstallStep |
| 70 DownloadStep | 68 DownloadStep |
| 71 ExtractStep | 69 ExtractStep |
| 72 PatchStep | 70 PatchStep |
| 73 ConfigureStep | 71 ConfigureStep |
| 74 PostConfigureStep | 72 PostConfigureStep |
| 75 BuildAndInstallStep | 73 BuildAndInstallStep |
| 76 } | 74 } |
| 77 | |
| 78 | |
| 79 PackageInstall | |
| 80 exit 0 | |
| OLD | NEW |