| OLD | NEW |
| 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 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 | 7 |
| 10 ConfigureStep() { | 8 ConfigureStep() { |
| 11 if [ "${NACL_GLIBC}" != 1 ]; then | 9 if [ "${NACL_GLIBC}" != 1 ]; then |
| 12 export LIBS="-lglibc-compat" | 10 export LIBS="-lglibc-compat" |
| 13 fi | 11 fi |
| 14 EXTRA_CONFIGURE_ARGS+=" --disable-oggtest" | 12 EXTRA_CONFIGURE_ARGS+=" --disable-oggtest" |
| 15 EXTRA_CONFIGURE_ARGS+=" --disable-xmms-plugin" | 13 EXTRA_CONFIGURE_ARGS+=" --disable-xmms-plugin" |
| 16 EXTRA_CONFIGURE_ARGS+=" --without-metaflac-test-files" | 14 EXTRA_CONFIGURE_ARGS+=" --without-metaflac-test-files" |
| 17 DefaultConfigureStep | 15 DefaultConfigureStep |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 echo "# define srandom(x) srand(x)" >> config.h | 26 echo "# define srandom(x) srand(x)" >> config.h |
| 29 echo "#endif" >> config.h | 27 echo "#endif" >> config.h |
| 30 } | 28 } |
| 31 | 29 |
| 32 | 30 |
| 33 InstallStep() { | 31 InstallStep() { |
| 34 # assumes pwd has makefile | 32 # assumes pwd has makefile |
| 35 make install-exec | 33 make install-exec |
| 36 (cd include; make install) | 34 (cd include; make install) |
| 37 } | 35 } |
| 38 | |
| 39 | |
| 40 PackageInstall | |
| 41 exit 0 | |
| OLD | NEW |