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.07.0" & < "4.10.0"} "bap" "conf-ida" ] synopsis: "A BAP - IDA Pro integration library" flags: light-uninstall url { src: "https://github.com/BinaryAnalysisPlatform/bap-ida-python/archive/v2.1.0.tar.gz" checksum: [ "sha256=7a58f8e6d928a76033ab92fa5152c113955ec13a1cbf34b47ed285697069c018" "md5=c6a4ed2cfc406e48f227808b9faaa054" ] } 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" ] }