summaryrefslogtreecommitdiff
path: root/homebrew/vavrdiasm/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/vavrdiasm/.beer')
-rw-r--r--homebrew/vavrdiasm/.beer45
1 files changed, 45 insertions, 0 deletions
diff --git a/homebrew/vavrdiasm/.beer b/homebrew/vavrdiasm/.beer
new file mode 100644
index 000000000..b9c1bc9c7
--- /dev/null
+++ b/homebrew/vavrdiasm/.beer
@@ -0,0 +1,45 @@
+{
+ "name": "Vavrdiasm",
+ "description": "8-bit Atmel AVR disassembler",
+ "url": "https://github.com/vsergeev/vavrdisasm/archive/v3.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/vsergeev/vAVRdisasm",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "diff --git a/Makefile b/Makefile\n",
+ "index 3b61942..f1c94fc 100644\n",
+ "--- a/Makefile\n",
+ "+++ b/Makefile\n",
+ "@@ -1,5 +1,5 @@\n",
+ " PROGNAME = vavrdisasm\n",
+ "-PREFIX = /usr\n",
+ "+PREFIX ?= /usr\n",
+ " BINDIR = $(PREFIX)/bin\n",
+ "\n",
+ " ################################################################################\n",
+ "@@ -35,7 +35,8 @@ test: $(PROGNAME)\n",
+ " \tpython2 crazy_test.py\n",
+ "\n",
+ " install: $(PROGNAME)\n",
+ "-\tinstall -D -s -m 0755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)\n",
+ "+\tmkdir -p $(DESTDIR)$(BINDIR)\n",
+ "+\tinstall -s -m 0755 $(PROGNAME) $(DESTDIR)$(BINDIR)/$(PROGNAME)\n",
+ "\n",
+ " uninstall:\n",
+ " \trm -f $(DESTDIR)$(BINDIR)/$(PROGNAME)\n"
+ ]
+ }
+ ],
+ "install": [
+ "ENV[\"PREFIX\"] = prefix",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.1",
+ "file": "vavrdiasm.rb"
+} \ No newline at end of file