| 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 InstallStep() { | 7 InstallStep() { |
| 10 # do the regular make install | 8 # do the regular make install |
| 11 make install | 9 make install |
| 12 # move freetype up a directory so #include <freetype/freetype.h> works... | 10 # move freetype up a directory so #include <freetype/freetype.h> works... |
| 13 Remove ${NACLPORTS_INCLUDE}/freetype | 11 Remove ${NACLPORTS_INCLUDE}/freetype |
| 14 cp -R ${NACLPORTS_INCLUDE}/freetype2/freetype ${NACLPORTS_INCLUDE}/. | 12 cp -R ${NACLPORTS_INCLUDE}/freetype2/freetype ${NACLPORTS_INCLUDE}/. |
| 15 Remove ${NACLPORTS_INCLUDE}/freetype2 | 13 Remove ${NACLPORTS_INCLUDE}/freetype2 |
| 16 } | 14 } |
| 17 | 15 |
| 18 PatchStep() { | 16 PatchStep() { |
| 19 DefaultPatchStep | 17 DefaultPatchStep |
| 20 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} | 18 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR} |
| 21 Banner "Patching configure" | 19 Banner "Patching configure" |
| 22 ${TOOLS_DIR}/patch_configure.py builds/unix/configure | 20 ${TOOLS_DIR}/patch_configure.py builds/unix/configure |
| 23 } | 21 } |
| 24 | |
| 25 PackageInstall | |
| 26 exit 0 | |
| OLD | NEW |