diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-24 01:57:39 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-24 01:57:39 -0700 |
| commit | 9f700e09c664fdb98023a405586ff4f83a1a04fc (patch) | |
| tree | 7cf2ecd926e72df06e5d323cf22059ec6f9d7eff | |
| parent | 7625d837d52aa218526d02a98d1748e479b994a1 (diff) | |
| parent | dade1c7637191113fd48726ac145ce2a7dc143cc (diff) | |
| download | vcpkg-9f700e09c664fdb98023a405586ff4f83a1a04fc.tar.gz vcpkg-9f700e09c664fdb98023a405586ff4f83a1a04fc.zip | |
Merge branch 'wt' of https://github.com/codeandroid/vcpkg into codeandroid-wt
| -rw-r--r-- | ports/wt/CONTROL | 4 | ||||
| -rw-r--r-- | ports/wt/portfile.cmake | 32 |
2 files changed, 36 insertions, 0 deletions
diff --git a/ports/wt/CONTROL b/ports/wt/CONTROL new file mode 100644 index 000000000..fc71d9aaf --- /dev/null +++ b/ports/wt/CONTROL @@ -0,0 +1,4 @@ +Source: wt +Version: 3.3.6 +Description: Wt is a C++ library for developing web applications +Build-Depends: boost, openssl diff --git a/ports/wt/portfile.cmake b/ports/wt/portfile.cmake new file mode 100644 index 000000000..3d9360e04 --- /dev/null +++ b/ports/wt/portfile.cmake @@ -0,0 +1,32 @@ +include(${CMAKE_TRIPLET_FILE}) +include(vcpkg_common_functions) +set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/wt-3.3.6) + +vcpkg_download_distfile(ARCHIVE_FILE + URLS "https://github.com/kdeforche/wt/archive/3.3.6.tar.gz" + FILENAME "3.3.6.tar.gz" + SHA512 d6135713d300bcd3956a4fd673af73be0561eb5d6aa91c47255b966950ddb411217e6a826c1d11c0d941dbb6d006c9926231d7334b21de6256cca331066e18a6 +) +vcpkg_extract_source_archive(${ARCHIVE_FILE}) + +file(MAKE_DIRECTORY ${CURRENT_BUILDTREES_DIR}) +vcpkg_configure_cmake( +SOURCE_PATH ${SOURCE_PATH} + OPTIONS + -DSHARED_LIBS=ON + -DENABLE_SSL=ON + -DBUILD_EXAMPLES=OFF + -DENABLE_POSTGRES=OFF + -DENABLE_FIREBIRD=OFF + -DENABLE_MYSQL=OFF + -DENABLE_QT4=OFF + -DBOOST_DYNAMIC=ON +) +vcpkg_install_cmake() + +# There is no way to suppress installation of the headers and resource files in debug build. +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) + +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/wt RENAME copyright) +vcpkg_copy_pdbs() |
