summaryrefslogtreecommitdiff
path: root/homebrew/armlinuxgnueabihfbinutils
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/armlinuxgnueabihfbinutils
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/armlinuxgnueabihfbinutils')
-rw-r--r--homebrew/armlinuxgnueabihfbinutils/.beer28
-rw-r--r--homebrew/armlinuxgnueabihfbinutils/.make.sh-auto6
-rw-r--r--homebrew/armlinuxgnueabihfbinutils/_metadata/description1
-rw-r--r--homebrew/armlinuxgnueabihfbinutils/_metadata/homepage1
-rw-r--r--homebrew/armlinuxgnueabihfbinutils/_metadata/name1
-rw-r--r--homebrew/armlinuxgnueabihfbinutils/_metadata/version1
-rwxr-xr-xhomebrew/armlinuxgnueabihfbinutils/download.sh1
7 files changed, 39 insertions, 0 deletions
diff --git a/homebrew/armlinuxgnueabihfbinutils/.beer b/homebrew/armlinuxgnueabihfbinutils/.beer
new file mode 100644
index 000000000..5ae42a3b3
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "ArmLinuxGnueabihfBinutils",
+ "description": "FSF/GNU binutils for cross-compiling to arm-linux",
+ "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": [
+ "ENV.cxx11",
+ "ENV.append \"CXXFLAGS\", \"-Wno-c++11-narrowing\"",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--enable-deterministic-archives\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--disable-werror\",",
+ "\"--target=arm-linux-gnueabihf\",",
+ "\"--enable-gold=yes\",",
+ "\"--enable-ld=yes\",",
+ "\"--enable-interwork\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.32",
+ "file": "arm-linux-gnueabihf-binutils.rb"
+} \ No newline at end of file
diff --git a/homebrew/armlinuxgnueabihfbinutils/.make.sh-auto b/homebrew/armlinuxgnueabihfbinutils/.make.sh-auto
new file mode 100644
index 000000000..fc358b1e3
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.cxx11
+ENV.append "CXXFLAGS", "-Wno-c++11-narrowing"
+pkg:configure --disable-dependency-tracking --enable-deterministic-archives --disable-werror --target=arm-linux-gnueabihf --enable-gold=yes --enable-ld=yes --enable-interwork
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/armlinuxgnueabihfbinutils/_metadata/description b/homebrew/armlinuxgnueabihfbinutils/_metadata/description
new file mode 100644
index 000000000..098379340
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/_metadata/description
@@ -0,0 +1 @@
+FSF/GNU binutils for cross-compiling to arm-linux
diff --git a/homebrew/armlinuxgnueabihfbinutils/_metadata/homepage b/homebrew/armlinuxgnueabihfbinutils/_metadata/homepage
new file mode 100644
index 000000000..71eda22a7
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/binutils/binutils.html
diff --git a/homebrew/armlinuxgnueabihfbinutils/_metadata/name b/homebrew/armlinuxgnueabihfbinutils/_metadata/name
new file mode 100644
index 000000000..b7474cb4b
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/_metadata/name
@@ -0,0 +1 @@
+ArmLinuxGnueabihfBinutils
diff --git a/homebrew/armlinuxgnueabihfbinutils/_metadata/version b/homebrew/armlinuxgnueabihfbinutils/_metadata/version
new file mode 100644
index 000000000..0f34dc7f3
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/_metadata/version
@@ -0,0 +1 @@
+2.32
diff --git a/homebrew/armlinuxgnueabihfbinutils/download.sh b/homebrew/armlinuxgnueabihfbinutils/download.sh
new file mode 100755
index 000000000..b5bf14171
--- /dev/null
+++ b/homebrew/armlinuxgnueabihfbinutils/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