| OLD | NEW |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 BUILD_DIR=${SRC_DIR} | 5 BUILD_DIR=${SRC_DIR} |
| 6 EXECUTABLES="bzip2" | 6 EXECUTABLES="bzip2" |
| 7 | 7 |
| 8 NACLPORTS_CFLAGS+=" -Dmain=nacl_main -fPIC" | 8 NACLPORTS_CFLAGS+=" -Dmain=nacl_main -fPIC" |
| 9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" | 9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 LogExecute cp -f bzip2 ${DESTDIR}${PREFIX}/bin | 38 LogExecute cp -f bzip2 ${DESTDIR}${PREFIX}/bin |
| 39 LogExecute chmod a+r ${DESTDIR_INCLUDE}/bzlib.h | 39 LogExecute chmod a+r ${DESTDIR_INCLUDE}/bzlib.h |
| 40 | 40 |
| 41 LogExecute cp -f libbz2.a ${DESTDIR_LIB} | 41 LogExecute cp -f libbz2.a ${DESTDIR_LIB} |
| 42 if [ -f libbz2.so.1.0 ]; then | 42 if [ -f libbz2.so.1.0 ]; then |
| 43 LogExecute ln -s libbz2.so.1.0 libbz2.so | 43 LogExecute ln -s libbz2.so.1.0 libbz2.so |
| 44 LogExecute cp -af libbz2.so* ${DESTDIR_LIB} | 44 LogExecute cp -af libbz2.so* ${DESTDIR_LIB} |
| 45 fi | 45 fi |
| 46 LogExecute chmod a+r ${DESTDIR_LIB}/libbz2.* | 46 LogExecute chmod a+r ${DESTDIR_LIB}/libbz2.* |
| 47 } | 47 } |
| 48 | |
| 49 PublishStep() { | |
| 50 # TODO(bradnelson): Figure out why the newlib version gets: | |
| 51 # Function not implemented | |
| 52 # when compressing with the bzip2 command-line tool. | |
| 53 PublishByArchForDevEnv | |
| 54 } | |
| OLD | NEW |