aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratkawa7 <atkawa7@yahoo.com>2017-06-23 14:58:52 -0700
committeratkawa7 <atkawa7@yahoo.com>2017-06-23 14:58:52 -0700
commitbffc9699991d51bd627b606d6dc47eef2cfd3955 (patch)
tree338e2bddee203ffdd2807ee93a90f258c6525933
parentdf3f73d8256e549ad43efd0a84cd3691d91c9c10 (diff)
downloadvcpkg-bffc9699991d51bd627b606d6dc47eef2cfd3955.tar.gz
vcpkg-bffc9699991d51bd627b606d6dc47eef2cfd3955.zip
[dirent] new port need by #1343
-rw-r--r--ports/dirent/CONTROL3
-rw-r--r--ports/dirent/portfile.cmake11
2 files changed, 14 insertions, 0 deletions
diff --git a/ports/dirent/CONTROL b/ports/dirent/CONTROL
new file mode 100644
index 000000000..50f6d7ede
--- /dev/null
+++ b/ports/dirent/CONTROL
@@ -0,0 +1,3 @@
+Source: dirent
+Version: 2017-06-23-5c7194c2fe2c68c1a8212712c0b4b6195382d27d
+Description: Dirent is a C/C++ programming interface that allows programmers to retrieve information about files and directories under Linux/UNIX. This project provides Linux compatible Dirent interface for Microsoft Windows.
diff --git a/ports/dirent/portfile.cmake b/ports/dirent/portfile.cmake
new file mode 100644
index 000000000..9476a8dcd
--- /dev/null
+++ b/ports/dirent/portfile.cmake
@@ -0,0 +1,11 @@
+include(vcpkg_common_functions)
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO tronkko/dirent
+ REF 8b1db5092479a73d47eafd3de739b27e876e6bf3
+ SHA512 f529aa65c2a4b8249c1291f3bccad25fa3a9c2146a2c74abc0a4710f68e2bd6f73cd52682bb406fbcab71d6a5225a354f9e8bdc22ce63b7a4e64bb65bab34b9f
+ HEAD_REF master
+)
+file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/dirent RENAME copyright)
+vcpkg_copy_pdbs()