summaryrefslogtreecommitdiff
path: root/homebrew/gawk
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gawk')
-rw-r--r--homebrew/gawk/.beer37
-rw-r--r--homebrew/gawk/.make.sh-auto7
-rw-r--r--homebrew/gawk/_metadata/description1
-rw-r--r--homebrew/gawk/_metadata/homepage1
-rw-r--r--homebrew/gawk/_metadata/name1
-rw-r--r--homebrew/gawk/_metadata/version1
-rwxr-xr-xhomebrew/gawk/download.sh1
7 files changed, 49 insertions, 0 deletions
diff --git a/homebrew/gawk/.beer b/homebrew/gawk/.beer
new file mode 100644
index 000000000..e2a8263d5
--- /dev/null
+++ b/homebrew/gawk/.beer
@@ -0,0 +1,37 @@
+{
+ "name": "Gawk",
+ "description": "GNU awk utility",
+ "url": "https://ftp.gnu.org/gnu/gawk/gawk-5.0.0.tar.xz",
+ "mirror": "https://ftpmirror.gnu.org/gawk/gawk-5.0.0.tar.xz",
+ "homepage": "https://www.gnu.org/software/gawk/",
+ "depends": [
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "mpfr",
+ "build-depend": false
+ },
+ {
+ "depend": "readline",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--without-libsigsegv-prefix\"",
+ "system \"make\"",
+ "system \"make\", \"check\"",
+ "system \"make\", \"install\"",
+ "(libexec/\"gnubin\").install_symlink bin/\"gawk\" => \"awk\"",
+ "(libexec/\"gnuman/man1\").install_symlink man1/\"gawk.1\" => \"awk.1\""
+ ],
+ "version": "5.0.0",
+ "file": "gawk.rb"
+} \ No newline at end of file
diff --git a/homebrew/gawk/.make.sh-auto b/homebrew/gawk/.make.sh-auto
new file mode 100644
index 000000000..f218b6c88
--- /dev/null
+++ b/homebrew/gawk/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --without-libsigsegv-prefix
+make
+make check
+make DESTDIR=${PKG_DEST} install
+(libexec/"gnubin").install_symlink bin/"gawk" => "awk"
+(libexec/"gnuman/man1").install_symlink man1/"gawk.1" => "awk.1"
diff --git a/homebrew/gawk/_metadata/description b/homebrew/gawk/_metadata/description
new file mode 100644
index 000000000..127d8cbc8
--- /dev/null
+++ b/homebrew/gawk/_metadata/description
@@ -0,0 +1 @@
+GNU awk utility
diff --git a/homebrew/gawk/_metadata/homepage b/homebrew/gawk/_metadata/homepage
new file mode 100644
index 000000000..566987128
--- /dev/null
+++ b/homebrew/gawk/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/gawk/
diff --git a/homebrew/gawk/_metadata/name b/homebrew/gawk/_metadata/name
new file mode 100644
index 000000000..e8dc676d4
--- /dev/null
+++ b/homebrew/gawk/_metadata/name
@@ -0,0 +1 @@
+Gawk
diff --git a/homebrew/gawk/_metadata/version b/homebrew/gawk/_metadata/version
new file mode 100644
index 000000000..0062ac971
--- /dev/null
+++ b/homebrew/gawk/_metadata/version
@@ -0,0 +1 @@
+5.0.0
diff --git a/homebrew/gawk/download.sh b/homebrew/gawk/download.sh
new file mode 100755
index 000000000..89e5a64ad
--- /dev/null
+++ b/homebrew/gawk/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/gawk/gawk-5.0.0.tar.xz || wget https://ftpmirror.gnu.org/gawk/gawk-5.0.0.tar.xz \ No newline at end of file