diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-18 20:50:08 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-18 20:54:03 -0700 |
| commit | ccca198c1b1730b0241911cb56dc8e3504958b2a (patch) | |
| tree | a2dd9b8b087a09afdcecc5cbb3377bed15127eb2 /ports/tiff | |
| download | vcpkg-ccca198c1b1730b0241911cb56dc8e3504958b2a.tar.gz vcpkg-ccca198c1b1730b0241911cb56dc8e3504958b2a.zip | |
Initial commit
Diffstat (limited to 'ports/tiff')
| -rw-r--r-- | ports/tiff/CONTROL | 3 | ||||
| -rw-r--r-- | ports/tiff/portfile.cmake | 36 |
2 files changed, 39 insertions, 0 deletions
diff --git a/ports/tiff/CONTROL b/ports/tiff/CONTROL new file mode 100644 index 000000000..df11c0e9c --- /dev/null +++ b/ports/tiff/CONTROL @@ -0,0 +1,3 @@ +Source: tiff +Version: 4.0.6 +Description: A library that supports the manipulation of TIFF image files
\ No newline at end of file diff --git a/ports/tiff/portfile.cmake b/ports/tiff/portfile.cmake new file mode 100644 index 000000000..9011db7b6 --- /dev/null +++ b/ports/tiff/portfile.cmake @@ -0,0 +1,36 @@ +include(vcpkg_common_functions) +vcpkg_download_distfile(ARCHIVE + URL "ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.6.tar.gz" + FILENAME "tiff-4.0.6.tar.gz" + MD5 d1d2e940dea0b5ad435f21f03d96dd72 +) +vcpkg_extract_source_archive(${ARCHIVE}) + +vcpkg_configure_cmake( + SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/tiff-4.0.6 + OPTIONS -Dcxx=OFF +) + +vcpkg_build_cmake() +vcpkg_install_cmake() + +file(REMOVE_RECURSE + ${CURRENT_PACKAGES_DIR}/debug/include + ${CURRENT_PACKAGES_DIR}/debug/share + ${CURRENT_PACKAGES_DIR}/share +) +file(COPY + ${CURRENT_BUILDTREES_DIR}/src/tiff-4.0.6/COPYRIGHT + DESTINATION ${CURRENT_PACKAGES_DIR}/share/tiff +) +file(RENAME + ${CURRENT_PACKAGES_DIR}/share/tiff/COPYRIGHT + ${CURRENT_PACKAGES_DIR}/share/tiff/c2 +) +file(RENAME + ${CURRENT_PACKAGES_DIR}/share/tiff/c2 + ${CURRENT_PACKAGES_DIR}/share/tiff/copyright +) +file(GLOB EXES ${CURRENT_PACKAGES_DIR}/bin/*.exe ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe) +file(REMOVE ${EXES}) +vcpkg_copy_pdbs() |
