aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-06-28 11:52:22 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-06-28 11:52:22 -0700
commit04e60310274b24820ec62313458aae001bcc035f (patch)
tree12bec539133e030484e67486f588a7d5f301ebf2
parenta7865b9d7abb3724969477773ff3d2f34aef746b (diff)
downloadvcpkg-04e60310274b24820ec62313458aae001bcc035f.tar.gz
vcpkg-04e60310274b24820ec62313458aae001bcc035f.zip
[msinttypes] required by #1343
-rw-r--r--ports/msinttypes/CONTROL3
-rw-r--r--ports/msinttypes/portfile.cmake13
2 files changed, 16 insertions, 0 deletions
diff --git a/ports/msinttypes/CONTROL b/ports/msinttypes/CONTROL
new file mode 100644
index 000000000..a7ed816ee
--- /dev/null
+++ b/ports/msinttypes/CONTROL
@@ -0,0 +1,3 @@
+Source: msinttypes
+Version: 2017-06-26-f9e7c5758ed9e3b9f4b2394de1881c704dd79de0
+Description: msinttypes is a package to provide missing ISO C9x compliant headers for Microsoft Visual Studio
diff --git a/ports/msinttypes/portfile.cmake b/ports/msinttypes/portfile.cmake
new file mode 100644
index 000000000..469032f76
--- /dev/null
+++ b/ports/msinttypes/portfile.cmake
@@ -0,0 +1,13 @@
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO chemeris/msinttypes
+ REF 7636cabe55318824dc702d15b69711f5d7c30250
+ SHA512 1c3c350d12c6b69e1cb6469f742afc126d50fd92e137ecacdb8367e320350cd42d7d41fbb0aa38d6a13aefbef5308f9ec89825e9b80a932f552a889f63b35cb2
+ HEAD_REF master
+)
+
+file(INSTALL ${SOURCE_PATH}/inttypes.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/stdint.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/stdint.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/msinttypes RENAME copyright)