summaryrefslogtreecommitdiff
path: root/homebrew/i386elfbinutils
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/i386elfbinutils')
-rw-r--r--homebrew/i386elfbinutils/.beer22
-rw-r--r--homebrew/i386elfbinutils/.make.sh-auto4
-rw-r--r--homebrew/i386elfbinutils/_metadata/description1
-rw-r--r--homebrew/i386elfbinutils/_metadata/homepage1
-rw-r--r--homebrew/i386elfbinutils/_metadata/name1
-rw-r--r--homebrew/i386elfbinutils/_metadata/version1
-rwxr-xr-xhomebrew/i386elfbinutils/download.sh1
7 files changed, 31 insertions, 0 deletions
diff --git a/homebrew/i386elfbinutils/.beer b/homebrew/i386elfbinutils/.beer
new file mode 100644
index 000000000..bd52cfba2
--- /dev/null
+++ b/homebrew/i386elfbinutils/.beer
@@ -0,0 +1,22 @@
+{
+ "name": "I386ElfBinutils",
+ "description": "FSF Binutils for i386-elf cross 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/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--target=i386-elf\",",
+ "\"--disable-multilib\",",
+ "\"--disable-nls\",",
+ "\"--disable-werror\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.32",
+ "file": "i386-elf-binutils.rb"
+} \ No newline at end of file
diff --git a/homebrew/i386elfbinutils/.make.sh-auto b/homebrew/i386elfbinutils/.make.sh-auto
new file mode 100644
index 000000000..31cbdb38a
--- /dev/null
+++ b/homebrew/i386elfbinutils/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --target=i386-elf --disable-multilib --disable-nls --disable-werror
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/i386elfbinutils/_metadata/description b/homebrew/i386elfbinutils/_metadata/description
new file mode 100644
index 000000000..b6934c82d
--- /dev/null
+++ b/homebrew/i386elfbinutils/_metadata/description
@@ -0,0 +1 @@
+FSF Binutils for i386-elf cross development
diff --git a/homebrew/i386elfbinutils/_metadata/homepage b/homebrew/i386elfbinutils/_metadata/homepage
new file mode 100644
index 000000000..b503da35d
--- /dev/null
+++ b/homebrew/i386elfbinutils/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/binutils/
diff --git a/homebrew/i386elfbinutils/_metadata/name b/homebrew/i386elfbinutils/_metadata/name
new file mode 100644
index 000000000..1636766b1
--- /dev/null
+++ b/homebrew/i386elfbinutils/_metadata/name
@@ -0,0 +1 @@
+I386ElfBinutils
diff --git a/homebrew/i386elfbinutils/_metadata/version b/homebrew/i386elfbinutils/_metadata/version
new file mode 100644
index 000000000..0f34dc7f3
--- /dev/null
+++ b/homebrew/i386elfbinutils/_metadata/version
@@ -0,0 +1 @@
+2.32
diff --git a/homebrew/i386elfbinutils/download.sh b/homebrew/i386elfbinutils/download.sh
new file mode 100755
index 000000000..b5bf14171
--- /dev/null
+++ b/homebrew/i386elfbinutils/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