summaryrefslogtreecommitdiff
path: root/homebrew/i386elfgrub
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/i386elfgrub')
-rw-r--r--homebrew/i386elfgrub/.beer36
-rw-r--r--homebrew/i386elfgrub/.make.sh-auto5
-rw-r--r--homebrew/i386elfgrub/_metadata/description1
-rw-r--r--homebrew/i386elfgrub/_metadata/homepage1
-rw-r--r--homebrew/i386elfgrub/_metadata/name1
-rw-r--r--homebrew/i386elfgrub/_metadata/version1
-rwxr-xr-xhomebrew/i386elfgrub/download.sh1
7 files changed, 46 insertions, 0 deletions
diff --git a/homebrew/i386elfgrub/.beer b/homebrew/i386elfgrub/.beer
new file mode 100644
index 000000000..df37d33af
--- /dev/null
+++ b/homebrew/i386elfgrub/.beer
@@ -0,0 +1,36 @@
+{
+ "name": "I386ElfGrub",
+ "description": "GNU GRUB 2 for i386-elf",
+ "url": "https://ftp.gnu.org/gnu/grub/grub-2.02.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.gnu.org/software/grub/",
+ "depends": [
+ {
+ "depend": "i386-elf-binutils",
+ "build-depend": true
+ },
+ {
+ "depend": "i386-elf-gcc",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"../configure\", \"--target=i386-elf\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--program-prefix=i386-elf-\",",
+ "\"--disable-werror\",",
+ "\"TARGET_CC=i386-elf-gcc\",",
+ "\"TARGET_OBJCOPY=i386-elf-objcopy\",",
+ "\"TARGET_STRIP=i386-elf-strip\",",
+ "\"TARGET_NM=i386-elf-nm\",",
+ "\"TARGET_RANLIB=i386-elf-ranlib\"",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.02",
+ "file": "i386-elf-grub.rb"
+} \ No newline at end of file
diff --git a/homebrew/i386elfgrub/.make.sh-auto b/homebrew/i386elfgrub/.make.sh-auto
new file mode 100644
index 000000000..5a9378d1b
--- /dev/null
+++ b/homebrew/i386elfgrub/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mkdir "build" && cd build
+PKG_CONF=../configure pkg:configure --target=i386-elf --program-prefix=i386-elf- --disable-werror TARGET_CC=i386-elf-gcc TARGET_OBJCOPY=i386-elf-objcopy TARGET_STRIP=i386-elf-strip TARGET_NM=i386-elf-nm TARGET_RANLIB=i386-elf-ranlib
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/i386elfgrub/_metadata/description b/homebrew/i386elfgrub/_metadata/description
new file mode 100644
index 000000000..eea7411d4
--- /dev/null
+++ b/homebrew/i386elfgrub/_metadata/description
@@ -0,0 +1 @@
+GNU GRUB 2 for i386-elf
diff --git a/homebrew/i386elfgrub/_metadata/homepage b/homebrew/i386elfgrub/_metadata/homepage
new file mode 100644
index 000000000..77b71046d
--- /dev/null
+++ b/homebrew/i386elfgrub/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/grub/
diff --git a/homebrew/i386elfgrub/_metadata/name b/homebrew/i386elfgrub/_metadata/name
new file mode 100644
index 000000000..8d8e7612a
--- /dev/null
+++ b/homebrew/i386elfgrub/_metadata/name
@@ -0,0 +1 @@
+I386ElfGrub
diff --git a/homebrew/i386elfgrub/_metadata/version b/homebrew/i386elfgrub/_metadata/version
new file mode 100644
index 000000000..c24303f68
--- /dev/null
+++ b/homebrew/i386elfgrub/_metadata/version
@@ -0,0 +1 @@
+2.02
diff --git a/homebrew/i386elfgrub/download.sh b/homebrew/i386elfgrub/download.sh
new file mode 100755
index 000000000..3b63d32ee
--- /dev/null
+++ b/homebrew/i386elfgrub/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/grub/grub-2.02.tar.xz \ No newline at end of file