From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/m2c/.beer | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 homebrew/m2c/.beer (limited to 'homebrew/m2c/.beer') diff --git a/homebrew/m2c/.beer b/homebrew/m2c/.beer new file mode 100644 index 000000000..b43058076 --- /dev/null +++ b/homebrew/m2c/.beer @@ -0,0 +1,21 @@ +{ + "name": "M2c", + "description": "Modula-2 to C compiler", + "url": "https://download.savannah.gnu.org/releases/m2c/0.7/m2c-0.7.tar.gz", + "mirror": null, + "homepage": "https://savannah.nongnu.org/projects/m2c/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "cp \"config/generic-gcc.h\", \"config/generic-clang.h\"", + "system \"./configure\", \"+cc=#{ENV.cc}\"", + "inreplace \"Makefile\", \"install: all uninstall\", \"install: all\"", + "inreplace \"Makefile\", \"mkdir\", \"mkdir -p\"", + "include.mkpath", + "system \"make\", \"install\", \"prefix=#{prefix}\", \"man1dir=#{man1}\"" + ], + "version": "0.7", + "file": "m2c.rb" +} \ No newline at end of file -- cgit v1.2.3