aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/sigslot/CONTROL3
-rw-r--r--ports/sigslot/LICENSE8
-rw-r--r--ports/sigslot/portfile.cmake20
3 files changed, 31 insertions, 0 deletions
diff --git a/ports/sigslot/CONTROL b/ports/sigslot/CONTROL
new file mode 100644
index 000000000..9b3e16b37
--- /dev/null
+++ b/ports/sigslot/CONTROL
@@ -0,0 +1,3 @@
+Source: sigslot
+Version: 1.0.0
+Description: Portable C++ type-safe, thread-safe signal/slot library for ISO C++, Unix/BSD/Linux and Win32. Sigslot allows C++ code to use the signal/slot paradigm made popular by, for example, Qt.
diff --git a/ports/sigslot/LICENSE b/ports/sigslot/LICENSE
new file mode 100644
index 000000000..d706712aa
--- /dev/null
+++ b/ports/sigslot/LICENSE
@@ -0,0 +1,8 @@
+License
+The sigslot library has been placed in the public domain. This means that you are free to use it however you like.
+
+The author takes no responsibility or liability of any kind for any use that you may make of this library.
+
+If you screw up, it's your fault.
+
+If the library screws up, you got it for free, so you should have tested it better - it's still your responsibility. \ No newline at end of file
diff --git a/ports/sigslot/portfile.cmake b/ports/sigslot/portfile.cmake
new file mode 100644
index 000000000..4993bf9e0
--- /dev/null
+++ b/ports/sigslot/portfile.cmake
@@ -0,0 +1,20 @@
+include(vcpkg_common_functions)
+
+vcpkg_download_distfile(
+ ARCHIVE
+ URLS
+ "https://downloads.sourceforge.net/project/sigslot/sigslot/1.0.0/sigslot-1-0-0.tar.gz"
+ FILENAME
+ "sigslot-1-0-0.tar.gz"
+ SHA512
+ 3f16f94a653e49934ec1d695eac02234d15b203f42e9fa88723ee582a84670a645a89e5b87afe2378fa7a9eaef054049255bf3bd531ab1d6825a042641ba8906
+ )
+
+vcpkg_extract_source_archive(${ARCHIVE} ${CURRENT_BUILDTREES_DIR})
+
+file(INSTALL ${CURRENT_BUILDTREES_DIR}/sigslot/sigslot.h
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+file(INSTALL ${CURRENT_PORT_DIR}/LICENSE
+ DESTINATION ${CURRENT_PACKAGES_DIR}/share/sigslot
+ RENAME copyright)