meson: Add boost dependency

Copied the bits and pieces from bmcweb.

Change-Id: I6ce919ac5f30d9c814df6e96ba8b579115c82a4b
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/meson.build b/meson.build
index c826d00..36089a1 100644
--- a/meson.build
+++ b/meson.build
@@ -12,10 +12,11 @@
 
 sdbusplus_dep = dependency('sdbusplus')
 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
-
+boost = dependency('boost', include_type: 'system')
 deps = [
     sdbusplus_dep,
     phosphor_dbus_interfaces_dep,
+    boost,
 ]
 
 udevdir = dependency('udev').get_variable(pkgconfig: 'udevdir')
diff --git a/subprojects/boost.wrap b/subprojects/boost.wrap
new file mode 100644
index 0000000..620d3fd
--- /dev/null
+++ b/subprojects/boost.wrap
@@ -0,0 +1,11 @@
+[wrap-file]
+directory = boost_1_81_0
+
+source_url = https://boostorg.jfrog.io/artifactory/main/release/1.81.0/source/boost_1_81_0.tar.bz2
+source_hash = 71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa
+source_filename = 1_81_0.tar.bz2
+
+patch_directory = boost
+
+[provide]
+boost = boost_dep
diff --git a/subprojects/packagefiles/boost/meson.build b/subprojects/packagefiles/boost/meson.build
new file mode 100644
index 0000000..b5dea0a
--- /dev/null
+++ b/subprojects/packagefiles/boost/meson.build
@@ -0,0 +1,9 @@
+project('boost',
+    'cpp',
+    version : '1.81.0',
+    license : 'Boost'
+)
+
+boost_dep = declare_dependency(
+    include_directories : include_directories('.'),
+)