diff options
Diffstat (limited to 'homebrew/lemon')
-rw-r--r-- | homebrew/lemon/.beer | 19 | ||||
-rw-r--r-- | homebrew/lemon/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/lemon/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/lemon/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/lemon/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/lemon/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/lemon/download.sh | 1 |
7 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/lemon/.beer b/homebrew/lemon/.beer new file mode 100644 index 000000000..b0492eb43 --- /dev/null +++ b/homebrew/lemon/.beer @@ -0,0 +1,19 @@ +{ + "name": "Lemon", + "description": "LALR(1) parser generator like yacc or bison", + "url": "https://tx97.net/pub/distfiles/lemon-1.69.tar.bz2", + "mirror": null, + "homepage": "https://www.hwaci.com/sw/lemon/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "pkgshare.install \"lempar.c\"", + "inreplace \"lemon.c\", / = pathsearch\\([^)]*\\);/, \" = \\\"#{pkgshare}/lempar.c\\\";\"", + "system ENV.cc, \"-o\", \"lemon\", \"lemon.c\"", + "bin.install \"lemon\"" + ], + "version": "1.69", + "file": "lemon.rb" +}
\ No newline at end of file diff --git a/homebrew/lemon/.make.sh-auto b/homebrew/lemon/.make.sh-auto new file mode 100644 index 000000000..7959e2389 --- /dev/null +++ b/homebrew/lemon/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +pkgshare.install "lempar.c" +inreplace "lemon.c", / = pathsearch\([^)]*\);/, " = \"#{pkgshare}/lempar.c\";" +ENV.cc -o lemon lemon.c +bin.install "lemon" diff --git a/homebrew/lemon/_metadata/description b/homebrew/lemon/_metadata/description new file mode 100644 index 000000000..488f9089a --- /dev/null +++ b/homebrew/lemon/_metadata/description @@ -0,0 +1 @@ +LALR(1) parser generator like yacc or bison diff --git a/homebrew/lemon/_metadata/homepage b/homebrew/lemon/_metadata/homepage new file mode 100644 index 000000000..4f7230d47 --- /dev/null +++ b/homebrew/lemon/_metadata/homepage @@ -0,0 +1 @@ +https://www.hwaci.com/sw/lemon/ diff --git a/homebrew/lemon/_metadata/name b/homebrew/lemon/_metadata/name new file mode 100644 index 000000000..90d6568d1 --- /dev/null +++ b/homebrew/lemon/_metadata/name @@ -0,0 +1 @@ +Lemon diff --git a/homebrew/lemon/_metadata/version b/homebrew/lemon/_metadata/version new file mode 100644 index 000000000..883d7d653 --- /dev/null +++ b/homebrew/lemon/_metadata/version @@ -0,0 +1 @@ +1.69 diff --git a/homebrew/lemon/download.sh b/homebrew/lemon/download.sh new file mode 100755 index 000000000..54f5a049a --- /dev/null +++ b/homebrew/lemon/download.sh @@ -0,0 +1 @@ +wget https://tx97.net/pub/distfiles/lemon-1.69.tar.bz2
\ No newline at end of file |