sources:
  "4.0.2":
    url: "https://github.com/swig/swig/archive/rel-4.0.2.tar.gz"
    sha256: "81d7ce78371f378a3299ddc5aea1da9a6178f325dcabb695d1b742f9e24a0fa6"
  "4.0.1":
    url: "https://github.com/swig/swig/archive/rel-4.0.1.tar.gz"
    sha256: "2eaf6fb89d071d1be280bf995c63360b3729860c0da64948123b5d7e4cfb6cb7"
patches:
  "4.0.2":
    - base_path: "source_subfolder"
      patch_file: "patches/0001-swig-linux-library-path.patch"
    - base_path: "source_subfolder"
      patch_file: "patches/0002-4.0.2-do-not-define-SWIG_LIB_WIN_UNIX.patch"
  "4.0.1":
    - base_path: "source_subfolder"
      patch_file: "patches/0001-swig-linux-library-path.patch"
    - base_path: "source_subfolder"
      patch_file: "patches/0002-4.0.1-do-not-define-SWIG_LIB_WIN_UNIX.patch"
