diff options
Diffstat (limited to 'homebrew/radare2')
-rw-r--r-- | homebrew/radare2/.beer | 89 | ||||
-rw-r--r-- | homebrew/radare2/.make.sh-auto | 13 | ||||
-rw-r--r-- | homebrew/radare2/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/radare2/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/radare2/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/radare2/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/radare2/download.sh | 1 |
7 files changed, 107 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 diff --git a/homebrew/radare2/.make.sh-auto b/homebrew/radare2/.make.sh-auto new file mode 100644 index 000000000..81a3c795c --- /dev/null +++ b/homebrew/radare2/.make.sh-auto @@ -0,0 +1,13 @@ +pkg:setup +pkg:configure --with-openssl +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 +pkg:configure +make R2PM_PLUGDIR=#{lib}/radare2/#{version} all +make R2PM_PLUGDIR=#{lib}/radare2/#{version} DESTDIR=${PKG_DEST} install diff --git a/homebrew/radare2/_metadata/description b/homebrew/radare2/_metadata/description new file mode 100644 index 000000000..bbc498e0c --- /dev/null +++ b/homebrew/radare2/_metadata/description @@ -0,0 +1 @@ +Reverse engineering framework diff --git a/homebrew/radare2/_metadata/homepage b/homebrew/radare2/_metadata/homepage new file mode 100644 index 000000000..ebd4c2e58 --- /dev/null +++ b/homebrew/radare2/_metadata/homepage @@ -0,0 +1 @@ +https://radare.org diff --git a/homebrew/radare2/_metadata/name b/homebrew/radare2/_metadata/name new file mode 100644 index 000000000..ae0d1b08b --- /dev/null +++ b/homebrew/radare2/_metadata/name @@ -0,0 +1 @@ +Radare2 diff --git a/homebrew/radare2/_metadata/version b/homebrew/radare2/_metadata/version new file mode 100644 index 000000000..834f26295 --- /dev/null +++ b/homebrew/radare2/_metadata/version @@ -0,0 +1 @@ +2.8.0 diff --git a/homebrew/radare2/download.sh b/homebrew/radare2/download.sh new file mode 100755 index 000000000..ecd85bf28 --- /dev/null +++ b/homebrew/radare2/download.sh @@ -0,0 +1 @@ +wget https://radare.mikelloc.com/get/2.8.0/radare2-2.8.0.tar.gz
\ No newline at end of file |