aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPark DongHa <luncliff@gmail.com>2021-03-02 05:05:38 +0900
committerGitHub <noreply@github.com>2021-03-01 12:05:38 -0800
commitdb519ea44c6a203b7f370c9ccfff6361d397da12 (patch)
tree8a50fe82ef7e1c5f05a05e85cff88329808a3fdf
parent94db0dc3a082aff5701dde9bea05d022199f2be9 (diff)
downloadvcpkg-db519ea44c6a203b7f370c9ccfff6361d397da12.tar.gz
vcpkg-db519ea44c6a203b7f370c9ccfff6361d397da12.zip
[libnop] create a new port (#16471)
* [libnop] create a new port * [libnop] update baseline and port SHA
-rw-r--r--ports/libnop/portfile.cmake8
-rw-r--r--ports/libnop/vcpkg.json6
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/l-/libnop.json9
4 files changed, 27 insertions, 0 deletions
diff --git a/ports/libnop/portfile.cmake b/ports/libnop/portfile.cmake
new file mode 100644
index 000000000..5c10f5e60
--- /dev/null
+++ b/ports/libnop/portfile.cmake
@@ -0,0 +1,8 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO google/libnop
+ REF 910b55815be16109f04f4180e9adee14fb4ce281
+ SHA512 74c5324eaa1b6b2ac8dfef94c835b5c5b044625f8e5efe3522470b1ecc4798ff43d344a013cee2f6901e83267c6167072947b754e63f1552ae7044cffe234c36
+)
+file(INSTALL ${SOURCE_PATH}/include/nop DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
diff --git a/ports/libnop/vcpkg.json b/ports/libnop/vcpkg.json
new file mode 100644
index 000000000..be09bef23
--- /dev/null
+++ b/ports/libnop/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "libnop",
+ "version-date": "2021-03-01",
+ "description": "libnop is a header-only library for serializing and deserializing C++ data types without external code generators or runtime support libraries",
+ "homepage": "https://github.com/google/libnop"
+}
diff --git a/versions/baseline.json b/versions/baseline.json
index fa800c001..d4d841ca3 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3224,6 +3224,10 @@
"baseline": "1.0.0",
"port-version": 1
},
+ "libnop": {
+ "baseline": "2021-03-01",
+ "port-version": 0
+ },
"libodb": {
"baseline": "2.4.0-6",
"port-version": 0
diff --git a/versions/l-/libnop.json b/versions/l-/libnop.json
new file mode 100644
index 000000000..2b8d1a131
--- /dev/null
+++ b/versions/l-/libnop.json
@@ -0,0 +1,9 @@
+{
+ "versions": [
+ {
+ "git-tree": "97da98d4a3cd4e60972f53211892baa5b2f066df",
+ "version-date": "2021-03-01",
+ "port-version": 0
+ }
+ ]
+}