Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: ports/bzip2/build.sh

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « ports/blackbox/build.sh ('k') | ports/corelibs/build.sh » ('j') | ports/curl/nacl.patch » ('J')

Powered by Google App Engine
This is Rietveld 408576698