summaryrefslogtreecommitdiff
path: root/homebrew/bloaty
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/bloaty')
-rw-r--r--homebrew/bloaty/.beer23
-rw-r--r--homebrew/bloaty/.make.sh-auto4
-rw-r--r--homebrew/bloaty/_metadata/description1
-rw-r--r--homebrew/bloaty/_metadata/homepage1
-rw-r--r--homebrew/bloaty/_metadata/name1
-rw-r--r--homebrew/bloaty/_metadata/version1
-rwxr-xr-xhomebrew/bloaty/download.sh1
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/bloaty/.beer b/homebrew/bloaty/.beer
new file mode 100644
index 000000000..1aeebcf9d
--- /dev/null
+++ b/homebrew/bloaty/.beer
@@ -0,0 +1,23 @@
+{
+ "name": "Bloaty",
+ "description": "Size profiler for binaries",
+ "url": "https://github.com/google/bloaty/releases/download/v1.0/bloaty-1.0.tar.bz2",
+ "mirror": null,
+ "homepage": "https://github.com/google/bloaty",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\"",
+ "bin.install buildpath/\"bloaty\""
+ ],
+ "version": "1.0",
+ "file": "bloaty.rb"
+} \ No newline at end of file
diff --git a/homebrew/bloaty/.make.sh-auto b/homebrew/bloaty/.make.sh-auto
new file mode 100644
index 000000000..d83763b33
--- /dev/null
+++ b/homebrew/bloaty/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+bin.install buildpath/"bloaty"
diff --git a/homebrew/bloaty/_metadata/description b/homebrew/bloaty/_metadata/description
new file mode 100644
index 000000000..b96b3bbcc
--- /dev/null
+++ b/homebrew/bloaty/_metadata/description
@@ -0,0 +1 @@
+Size profiler for binaries
diff --git a/homebrew/bloaty/_metadata/homepage b/homebrew/bloaty/_metadata/homepage
new file mode 100644
index 000000000..db5ca36c3
--- /dev/null
+++ b/homebrew/bloaty/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/google/bloaty
diff --git a/homebrew/bloaty/_metadata/name b/homebrew/bloaty/_metadata/name
new file mode 100644
index 000000000..99950b803
--- /dev/null
+++ b/homebrew/bloaty/_metadata/name
@@ -0,0 +1 @@
+Bloaty
diff --git a/homebrew/bloaty/_metadata/version b/homebrew/bloaty/_metadata/version
new file mode 100644
index 000000000..d3827e75a
--- /dev/null
+++ b/homebrew/bloaty/_metadata/version
@@ -0,0 +1 @@
+1.0
diff --git a/homebrew/bloaty/download.sh b/homebrew/bloaty/download.sh
new file mode 100755
index 000000000..f3d861587
--- /dev/null
+++ b/homebrew/bloaty/download.sh
@@ -0,0 +1 @@
+wget https://github.com/google/bloaty/releases/download/v1.0/bloaty-1.0.tar.bz2 \ No newline at end of file