superbuild_add_project(socat
  CONFIGURE_COMMAND
    <SOURCE_DIR>/configure
      --prefix=<INSTALL_DIR>
      --disable-libwrap
      --disable-openssl
  BUILD_COMMAND
    $(MAKE)
  INSTALL_COMMAND
    $(MAKE) install
  BUILD_IN_SOURCE 1)

superbuild_apply_patch(socat add-missing-stddef
  "Add a missing include for stddef.h")
