summaryrefslogtreecommitdiff
path: root/homebrew/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/binutils')
-rw-r--r--homebrew/binutils/.beer30
-rw-r--r--homebrew/binutils/.make.sh-auto6
-rw-r--r--homebrew/binutils/_metadata/description1
-rw-r--r--homebrew/binutils/_metadata/homepage1
-rw-r--r--homebrew/binutils/_metadata/name1
-rw-r--r--homebrew/binutils/_metadata/version1
-rwxr-xr-xhomebrew/binutils/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/binutils/.beer b/homebrew/binutils/.beer
new file mode 100644
index 000000000..79a1422c9
--- /dev/null
+++ b/homebrew/binutils/.beer
@@ -0,0 +1,30 @@
+{
+ "name": "Binutils",
+ "description": "GNU binary tools for native development",
+ "url": "https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/binutils/binutils-2.32.tar.gz",
+ "homepage": "https://www.gnu.org/software/binutils/binutils.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--enable-deterministic-archives\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--infodir=#{info}\",",
+ "\"--mandir=#{man}\",",
+ "\"--disable-werror\",",
+ "\"--enable-interwork\",",
+ "\"--enable-multilib\",",
+ "\"--enable-64-bit-bfd\",",
+ "\"--enable-targets=all\"",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "Dir[\"#{bin}/*\"].each do |f|",
+ "bin.install_symlink f => \"g\" + File.basename(f)"
+ ],
+ "version": "2.32",
+ "file": "binutils.rb"
+} \ No newline at end of file
diff --git a/homebrew/binutils/.make.sh-auto b/homebrew/binutils/.make.sh-auto
new file mode 100644
index 000000000..08dc6465e
--- /dev/null
+++ b/homebrew/binutils/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --enable-deterministic-archives --disable-werror --enable-interwork --enable-multilib --enable-64-bit-bfd --enable-targets=all
+make
+make DESTDIR=${PKG_DEST} install
+Dir["#{bin}/*"].each do |f|
+bin.install_symlink f => "g" + File.basename(f)
diff --git a/homebrew/binutils/_metadata/description b/homebrew/binutils/_metadata/description
new file mode 100644
index 000000000..81905c45b
--- /dev/null
+++ b/homebrew/binutils/_metadata/description
@@ -0,0 +1 @@
+GNU binary tools for native development
diff --git a/homebrew/binutils/_metadata/homepage b/homebrew/binutils/_metadata/homepage
new file mode 100644
index 000000000..71eda22a7
--- /dev/null
+++ b/homebrew/binutils/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/binutils/binutils.html
diff --git a/homebrew/binutils/_metadata/name b/homebrew/binutils/_metadata/name
new file mode 100644
index 000000000..df3b0bac8
--- /dev/null
+++ b/homebrew/binutils/_metadata/name
@@ -0,0 +1 @@
+Binutils
diff --git a/homebrew/binutils/_metadata/version b/homebrew/binutils/_metadata/version
new file mode 100644
index 000000000..0f34dc7f3
--- /dev/null
+++ b/homebrew/binutils/_metadata/version
@@ -0,0 +1 @@
+2.32
diff --git a/homebrew/binutils/download.sh b/homebrew/binutils/download.sh
new file mode 100755
index 000000000..b5bf14171
--- /dev/null
+++ b/homebrew/binutils/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz || wget https://ftpmirror.gnu.org/binutils/binutils-2.32.tar.gz \ No newline at end of file