parameters: (self)
docstring: Installs TCLAP dependency.
docstring_summary: Installs TCLAP dependency.
docstring_tokens: Installs TCLAP dependency .
function: def install(self):
      """Installs TCLAP dependency."""
      url = 'https://sourceforge.net/projects/tclap/files/tclap-1.2.2.tar.gz/download'
      patch_paths = ['tclap/CMakeLists.txt', 'tclap/tclap-config.cmake']
      path = os.path.join(cfg.src_dir, 'tclap.tar.gz')
      force = self.forced()
      dl_dir = download_archive(url, path, force)
      copy_patch_files(patch_paths, dl_dir)
      with cwd(dl_dir):
        run_cmake(force)
function_tokens: def install ( self ) : url = 'https://sourceforge.net/projects/tclap/files/tclap-1.2.2.tar.gz/download' patch_paths = [ 'tclap/CMakeLists.txt' , 'tclap/tclap-config.cmake' ] path = os . path . join ( cfg . src_dir , 'tclap.tar.gz' ) force = self . forced ( ) dl_dir = download_archive ( url , path , force ) copy_patch_files ( patch_paths , dl_dir ) with cwd ( dl_dir ) : run_cmake ( force )