summaryrefslogtreecommitdiff
path: root/homebrew/radare2/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/radare2/.beer')
-rw-r--r--homebrew/radare2/.beer89
1 files changed, 89 insertions, 0 deletions
diff --git a/homebrew/radare2/.beer b/homebrew/radare2/.beer
new file mode 100644
index 000000000..058856fa6
--- /dev/null
+++ b/homebrew/radare2/.beer
@@ -0,0 +1,89 @@
+{
+ "name": "Radare2",
+ "description": "Reverse engineering framework",
+ "url": "https://radare.mikelloc.com/get/2.8.0/radare2-2.8.0.tar.gz",
+ "mirror": null,
+ "homepage": "https://radare.org",
+ "depends": [
+ {
+ "depend": "gobject-introspection",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "swig",
+ "build-depend": true
+ },
+ {
+ "depend": "valabind",
+ "build-depend": true
+ },
+ {
+ "depend": "gmp",
+ "build-depend": false
+ },
+ {
+ "depend": "jansson",
+ "build-depend": false
+ },
+ {
+ "depend": "libewf",
+ "build-depend": false
+ },
+ {
+ "depend": "libmagic",
+ "build-depend": false
+ },
+ {
+ "depend": "lua",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "yara",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "bindings",
+ "url": "https://radare.mikelloc.com/get/2.8.0/radare2-bindings-2.8.0.tar.gz"
+ },
+ {
+ "name": "extras",
+ "url": "https://radare.mikelloc.com/get/2.8.0/radare2-extras-2.8.0.tar.gz"
+ },
+ {
+ "name": "bindings",
+ "url": "https://github.com/radare/radare2-bindings.git"
+ },
+ {
+ "name": "extras",
+ "url": "https://github.com/radare/radare2-extras.git"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\", \"--with-openssl\"",
+ "system \"make\", \"CS_PATCHES=0\"",
+ "ENV.deparallelize { system \"make\", \"install\" }",
+ "rm_f bin/\"r2-docker\"",
+ "rm_f bin/\"r2-indent\"",
+ "resource(\"extras\").stage do",
+ "ENV.append_path \"PATH\", bin",
+ "ENV.append_path \"PKG_CONFIG_PATH\", \"#{lib}/pkgconfig\"",
+ "(lib/\"radare2/#{version}\").mkpath",
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"R2PM_PLUGDIR=#{lib}/radare2/#{version}\", \"all\"",
+ "system \"make\", \"R2PM_PLUGDIR=#{lib}/radare2/#{version}\", \"install\""
+ ],
+ "version": "2.8.0",
+ "file": "radare2.rb"
+} \ No newline at end of file