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

Side by Side Diff: libraries/faac-1.28/nacl-faac-1.28.sh

Issue 11885025: Allow re-targeting of naclports install (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « libraries/dreadthread/nacl-dreadthread.sh ('k') | libraries/ffmpeg-0.5/nacl-ffmpeg-0.5.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 6
7 # nacl-faac-1.28.sh 7 # nacl-faac-1.28.sh
8 # 8 #
9 # usage: nacl-faac-1.28.sh 9 # usage: nacl-faac-1.28.sh
10 # 10 #
11 # this script downloads, patches, and builds faac for Native Client 11 # this script downloads, patches, and builds faac for Native Client
12 # 12 #
13 13
14 source pkg_info 14 source pkg_info
15 source ../../build_tools/common.sh 15 source ../../build_tools/common.sh
16 16
17 CustomConfigureStep() { 17 CustomConfigureStep() {
18 Banner "Configuring ${PACKAGE_NAME}" 18 Banner "Configuring ${PACKAGE_NAME}"
19 # export the nacl tools 19 # export the nacl tools
20 export CC=${NACLCC} 20 export CC=${NACLCC}
21 export CXX=${NACLCXX} 21 export CXX=${NACLCXX}
22 export AR=${NACLAR} 22 export AR=${NACLAR}
23 export RANLIB=${NACLRANLIB} 23 export RANLIB=${NACLRANLIB}
24 export PKG_CONFIG_PATH=${NACL_SDK_USR_LIB}/pkgconfig 24 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig
25 export PKG_CONFIG_LIBDIR=${NACL_SDK_USR_LIB} 25 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR}
26 export PATH=${NACL_BIN_PATH}:${PATH}; 26 export PATH=${NACL_BIN_PATH}:${PATH};
27 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME} 27 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
28 # faac appears to require configure from here, not in build dir 28 # faac appears to require configure from here, not in build dir
29 ./configure \ 29 ./configure \
30 --host=nacl \ 30 --host=nacl \
31 --disable-shared \ 31 --disable-shared \
32 --prefix=${NACL_SDK_USR} \ 32 --prefix=${NACLPORTS_PREFIX} \
33 --exec-prefix=${NACL_SDK_USR} \ 33 --exec-prefix=${NACLPORTS_PREFIX} \
34 --libdir=${NACL_SDK_USR_LIB} \ 34 --libdir=${NACLPORTS_LIBDIR} \
35 --oldincludedir=${NACL_SDK_USR_INCLUDE} \ 35 --oldincludedir=${NACLPORTS_INCLUDE} \
36 --with-mp4v2=no \ 36 --with-mp4v2=no \
37 --with-x=no 37 --with-x=no
38 } 38 }
39 39
40 40
41 CustomPackageInstall() { 41 CustomPackageInstall() {
42 DefaultPreInstallStep 42 DefaultPreInstallStep
43 DefaultDownloadStep 43 DefaultDownloadStep
44 DefaultExtractStep 44 DefaultExtractStep
45 DefaultPatchStep 45 DefaultPatchStep
46 CustomConfigureStep 46 CustomConfigureStep
47 DefaultBuildStep 47 DefaultBuildStep
48 DefaultInstallStep 48 DefaultInstallStep
49 DefaultCleanUpStep 49 DefaultCleanUpStep
50 } 50 }
51 51
52 52
53 CustomPackageInstall 53 CustomPackageInstall
54 exit 0 54 exit 0
OLDNEW
« no previous file with comments | « libraries/dreadthread/nacl-dreadthread.sh ('k') | libraries/ffmpeg-0.5/nacl-ffmpeg-0.5.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698