aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 11:21:02 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-26 11:21:02 -0700
commit9c6bcb67d87e6108f405a2201c0e782b3858b54a (patch)
treeb4c958bfac5aa0330ebe46c05e75fc3734dee26e
parent1de1cec3729846a7d7e599ba1ac82d4eba441180 (diff)
parent9e72812557560469a531353c6a4928ffcfc853f4 (diff)
downloadvcpkg-9c6bcb67d87e6108f405a2201c0e782b3858b54a.tar.gz
vcpkg-9c6bcb67d87e6108f405a2201c0e782b3858b54a.zip
Merge branch 'frederich-wtl'
-rw-r--r--ports/wtl/CONTROL5
-rw-r--r--ports/wtl/portfile.cmake14
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/wtl/CONTROL b/ports/wtl/CONTROL
new file mode 100644
index 000000000..6f8b6208e
--- /dev/null
+++ b/ports/wtl/CONTROL
@@ -0,0 +1,5 @@
+Source: wtl
+Maintainer: jfrederich@gmail.com
+Version: 9.1
+Description: Windows Template Library (WTL) is a C++ library for developing Windows applications and UI components.
+Build-Depends:
diff --git a/ports/wtl/portfile.cmake b/ports/wtl/portfile.cmake
new file mode 100644
index 000000000..c28019383
--- /dev/null
+++ b/ports/wtl/portfile.cmake
@@ -0,0 +1,14 @@
+include(vcpkg_common_functions)
+vcpkg_download_distfile(ARCHIVE
+ URLS "http://downloads.sourceforge.net/project/wtl/WTL%209.1/WTL%209.1.5321%20Final/WTL91_5321_Final.zip?r=&ts=1477467616&use_mirror=netix"
+ FILENAME "WTL91_5321_Final.zip"
+ SHA512 52c583f6773839f7ad7fccf0ecba44ad00f41af4ae97d217619cc380ea9b71b90638ae35a5995f9eb08854db423896fec5f06b5cbd853f118eeddd05238a460a
+)
+vcpkg_extract_source_archive(${ARCHIVE})
+
+file(INSTALL ${CURRENT_BUILDTREES_DIR}/src/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/wtl FILES_MATCHING PATTERN "*.h")
+
+file(COPY ${CURRENT_BUILDTREES_DIR}/src/MS-PL.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/wtl)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/wtl/MS-PL.txt ${CURRENT_PACKAGES_DIR}/share/wtl/copyright)
+
+file(COPY ${CURRENT_BUILDTREES_DIR}/src/samples DESTINATION ${CURRENT_PACKAGES_DIR}/share/wtl)