opam-version: "2.0" maintainer: "Ivan Gotovchits " authors: "BAP Team" homepage: "https://github.com/BinaryAnalysisPlatform/bap-ida-python/" bug-reports: "https://github.com/BinaryAnalysisPlatform/bap-ida-python/issues" dev-repo: "git+https://github.com/BinaryAnalysisPlatform/bap-ida-python/" license: "MIT" substs: [ "bap.cfg" ] install: [ ["mkdir" "-p" "%{prefix}%/share/%{name}%/"] ["cp" "-v" "plugins/plugin_loader_bap.py" "%{prefix}%/share/%{name}%/"] ["cp" "-rv" "plugins/bap" "%{prefix}%/share/%{name}%/"] ["cp" "-v" "bap.cfg" "%{prefix}%/share/%{name}%/"] ] remove: [ ["rm" "-rf" "%{prefix}%/share/%{name}%/"] ] depends: [ "ocaml" {>= "4.08.0"} "bap" {= version} "conf-ida" ] synopsis: "A BAP - IDA Pro integration library" flags: light-uninstall url { src: "https://github.com/BinaryAnalysisPlatform/bap-ida-python/archive/v2.3.0.tar.gz" checksum: [ "sha256=c5ea837782e1c58e9259a4394fa8017d2753138f86457aca998083b344355f62" "md5=a41edebfb1b356b2997e4b24376681b7" ] } post-messages: [ "In order to install bap-ida-python plugin: rm -rf %{conf-ida:path}%/plugins/bap/ cp %{prefix}%/share/%{name}%/plugin_loader_bap.py %{conf-ida:path}%/plugins/ cp -r %{prefix}%/share/%{name}%/bap %{conf-ida:path}%/plugins/ cp %{prefix}%/share/%{name}%/bap.cfg %{conf-ida:path}%/cfg/ " ] extra-source "bap.cfg.in" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/bap-ida-python/bap.cfg.in" checksum: [ "sha256=da8c7d3672137dfed3bbd8b0b913d3aa42cd39f684bff95ecfa0d1e1645e53a4" "md5=aec3a830555380469b523da74daef069" ] }