| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2013 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 | 6 BUILD_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} |
| 7 source ../../build_tools/common.sh | |
| 8 | 7 |
| 9 ConfigureStep() { | 8 ConfigureStep() { |
| 10 Banner "Configuring ${PACKAGE_NAME}" | 9 Banner "Configuring ${PACKAGE_NAME}" |
| 11 # export the nacl tools | 10 # export the nacl tools |
| 12 export CC=${NACLCC} | 11 export CC=${NACLCC} |
| 13 export CXX=${NACLCXX} | 12 export CXX=${NACLCXX} |
| 14 export AR=${NACLAR} | 13 export AR=${NACLAR} |
| 15 export RANLIB=${NACLRANLIB} | 14 export RANLIB=${NACLRANLIB} |
| 16 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} | 15 ChangeDir ${BUILD_DIR} |
| 17 ./unmaintained/autogen.sh \ | 16 ./unmaintained/autogen.sh \ |
| 18 --host=nacl \ | 17 --host=nacl \ |
| 19 --prefix=${NACLPORTS_PREFIX} | 18 --prefix=${NACLPORTS_PREFIX} |
| 20 } | 19 } |
| 21 | |
| 22 PackageInstall | |
| 23 exit 0 | |
| OLD | NEW |