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

Side by Side Diff: libraries/freetype-2.1.10/nacl-freetype-2.1.10.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/fontconfig-2.7.3/nacl-fontconfig-2.7.3.sh ('k') | libraries/gc6.8/nacl-gc6.8.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-freetype-2.1.10.sh 7 # nacl-freetype-2.1.10.sh
8 # 8 #
9 # usage: nacl-freetype-2.1.10.sh 9 # usage: nacl-freetype-2.1.10.sh
10 # 10 #
11 # this script downloads, patches, and builds freetype for Native Client 11 # this script downloads, patches, and builds freetype 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 CustomInstallStep() { 17 CustomInstallStep() {
18 # do the regular make install 18 # do the regular make install
19 make install 19 make install
20 # move freetype up a directory so #include <freetype/freetype.h> works... 20 # move freetype up a directory so #include <freetype/freetype.h> works...
21 Remove ${NACL_SDK_USR_INCLUDE}/freetype 21 Remove ${NACLPORTS_INCLUDE}/freetype
22 cp -R ${NACL_SDK_USR_INCLUDE}/freetype2/freetype ${NACL_SDK_USR_INCLUDE}/. 22 cp -R ${NACLPORTS_INCLUDE}/freetype2/freetype ${NACLPORTS_INCLUDE}/.
23 Remove ${NACL_SDK_USR_INCLUDE}/freetype2 23 Remove ${NACLPORTS_INCLUDE}/freetype2
24 DefaultTouchStep 24 DefaultTouchStep
25 } 25 }
26 26
27 27
28 CustomPackageInstall() { 28 CustomPackageInstall() {
29 DefaultPreInstallStep 29 DefaultPreInstallStep
30 DefaultDownloadStep 30 DefaultDownloadStep
31 DefaultExtractStep 31 DefaultExtractStep
32 DefaultPatchStep 32 DefaultPatchStep
33 DefaultConfigureStep 33 DefaultConfigureStep
34 DefaultBuildStep 34 DefaultBuildStep
35 CustomInstallStep 35 CustomInstallStep
36 DefaultCleanUpStep 36 DefaultCleanUpStep
37 } 37 }
38 38
39 39
40 CustomPackageInstall 40 CustomPackageInstall
41 exit 0 41 exit 0
42 42
OLDNEW
« no previous file with comments | « libraries/fontconfig-2.7.3/nacl-fontconfig-2.7.3.sh ('k') | libraries/gc6.8/nacl-gc6.8.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698