diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/srecord | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/srecord')
-rw-r--r-- | homebrew/srecord/.beer | 76 | ||||
-rw-r--r-- | homebrew/srecord/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/srecord/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/srecord/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/srecord/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/srecord/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/srecord/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/srecord/patches.sh | 43 |
8 files changed, 127 insertions, 0 deletions
diff --git a/homebrew/srecord/.beer b/homebrew/srecord/.beer new file mode 100644 index 000000000..6ebcb93d1 --- /dev/null +++ b/homebrew/srecord/.beer @@ -0,0 +1,76 @@ +{ + "name": "Srecord", + "description": "Tools for manipulating EPROM load files", + "url": "https://downloads.sourceforge.net/project/srecord/srecord/1.64/srecord-1.64.tar.gz", + "mirror": null, + "homepage": "https://srecord.sourceforge.io/", + "depends": [ + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "boost", + "build-depend": false + }, + { + "depend": "libgcrypt", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/Makefile.in b/Makefile.in\n", + "index b669f1a..b03c002 100644\n", + "--- a/Makefile.in\n", + "+++ b/Makefile.in\n", + "@@ -151,7 +151,7 @@ the-default-target: all\n", + " \n", + " etc/BUILDING.pdf: etc/BUILDING.man\n", + " \t$(GROFF) -Tps -s -I. -t -man etc/BUILDING.man > etc/BUILDING.ps\n", + "-\tps2pdf etc/BUILDING.ps $@\n", + "+\tpstopdf etc/BUILDING.ps $@\n", + " \trm etc/BUILDING.ps\n", + " \n", + " $(datarootdir)/doc/srecord/BUILDING.pdf: .mkdir.__datarootdir__doc_srecord \\\n", + "@@ -181,7 +181,7 @@ etc/README.pdf: etc/README.man etc/new.1.1.so etc/new.1.10.so etc/new.1.11.so \\\n", + " \t\tetc/new.1.60.so etc/new.1.61.so etc/new.1.62.so \\\n", + " \t\tetc/new.1.63.so etc/new.1.7.so etc/new.1.8.so etc/new.1.9.so\n", + " \t$(GROFF) -Tps -s -I. -t -man etc/README.man > etc/README.ps\n", + "-\tps2pdf etc/README.ps $@\n", + "+\tpstopdf etc/README.ps $@\n", + " \trm etc/README.ps\n", + " \n", + " $(datarootdir)/doc/srecord/README.pdf: .mkdir.__datarootdir__doc_srecord \\\n", + "@@ -209,7 +209,7 @@ etc/change_log.pdf: etc/change_log.man etc/new.1.1.so etc/new.1.10.so \\\n", + " \t\tetc/new.1.62.so etc/new.1.63.so etc/new.1.7.so etc/new.1.8.so \\\n", + " \t\tetc/new.1.9.so\n", + " \t$(GROFF) -Tps -s -I. -t -man etc/change_log.man > etc/change_log.ps\n", + "-\tps2pdf etc/change_log.ps $@\n", + "+\tpstopdf etc/change_log.ps $@\n", + " \trm etc/change_log.ps\n", + " \n", + " $(datarootdir)/doc/srecord/change_log.pdf: .mkdir.__datarootdir__doc_srecord \\\n", + "@@ -283,7 +283,7 @@ etc/reference.pdf: etc/BUILDING.man etc/README.man etc/coding-style.so \\\n", + " \t\tman/man5/srec_ti_txt.5 man/man5/srec_trs80.5 \\\n", + " \t\tman/man5/srec_vmem.5 man/man5/srec_wilson.5\n", + " \t$(GROFF) -Tps -s -I. -t -man etc/reference.man > etc/reference.ps\n", + "-\tps2pdf etc/reference.ps $@\n", + "+\tpstopdf etc/reference.ps $@\n", + " \trm etc/reference.ps\n", + " \n", + " $(datarootdir)/doc/srecord/reference.pdf: .mkdir.__datarootdir__doc_srecord \\\n" + ] + } + ], + "install": [ + "system \"./configure\", \"--prefix=#{prefix}\", \"LIBTOOL=glibtool\"", + "system \"make\", \"install\"" + ], + "version": "1.64", + "file": "srecord.rb" +}
\ No newline at end of file diff --git a/homebrew/srecord/.make.sh-auto b/homebrew/srecord/.make.sh-auto new file mode 100644 index 000000000..0b222570f --- /dev/null +++ b/homebrew/srecord/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +pkg:configure LIBTOOL=glibtool +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/srecord/_metadata/description b/homebrew/srecord/_metadata/description new file mode 100644 index 000000000..03ead6c75 --- /dev/null +++ b/homebrew/srecord/_metadata/description @@ -0,0 +1 @@ +Tools for manipulating EPROM load files diff --git a/homebrew/srecord/_metadata/homepage b/homebrew/srecord/_metadata/homepage new file mode 100644 index 000000000..b845df5a9 --- /dev/null +++ b/homebrew/srecord/_metadata/homepage @@ -0,0 +1 @@ +https://srecord.sourceforge.io/ diff --git a/homebrew/srecord/_metadata/name b/homebrew/srecord/_metadata/name new file mode 100644 index 000000000..f77fd90d9 --- /dev/null +++ b/homebrew/srecord/_metadata/name @@ -0,0 +1 @@ +Srecord diff --git a/homebrew/srecord/_metadata/version b/homebrew/srecord/_metadata/version new file mode 100644 index 000000000..8725364a8 --- /dev/null +++ b/homebrew/srecord/_metadata/version @@ -0,0 +1 @@ +1.64 diff --git a/homebrew/srecord/download.sh b/homebrew/srecord/download.sh new file mode 100755 index 000000000..962b25575 --- /dev/null +++ b/homebrew/srecord/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/srecord/srecord/1.64/srecord-1.64.tar.gz
\ No newline at end of file diff --git a/homebrew/srecord/patches.sh b/homebrew/srecord/patches.sh new file mode 100755 index 000000000..a483a4783 --- /dev/null +++ b/homebrew/srecord/patches.sh @@ -0,0 +1,43 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/Makefile.in b/Makefile.in +index b669f1a..b03c002 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -151,7 +151,7 @@ the-default-target: all + + etc/BUILDING.pdf: etc/BUILDING.man + $(GROFF) -Tps -s -I. -t -man etc/BUILDING.man > etc/BUILDING.ps +- ps2pdf etc/BUILDING.ps $@ ++ pstopdf etc/BUILDING.ps $@ + rm etc/BUILDING.ps + + $(datarootdir)/doc/srecord/BUILDING.pdf: .mkdir.__datarootdir__doc_srecord \ +@@ -181,7 +181,7 @@ etc/README.pdf: etc/README.man etc/new.1.1.so etc/new.1.10.so etc/new.1.11.so \ + etc/new.1.60.so etc/new.1.61.so etc/new.1.62.so \ + etc/new.1.63.so etc/new.1.7.so etc/new.1.8.so etc/new.1.9.so + $(GROFF) -Tps -s -I. -t -man etc/README.man > etc/README.ps +- ps2pdf etc/README.ps $@ ++ pstopdf etc/README.ps $@ + rm etc/README.ps + + $(datarootdir)/doc/srecord/README.pdf: .mkdir.__datarootdir__doc_srecord \ +@@ -209,7 +209,7 @@ etc/change_log.pdf: etc/change_log.man etc/new.1.1.so etc/new.1.10.so \ + etc/new.1.62.so etc/new.1.63.so etc/new.1.7.so etc/new.1.8.so \ + etc/new.1.9.so + $(GROFF) -Tps -s -I. -t -man etc/change_log.man > etc/change_log.ps +- ps2pdf etc/change_log.ps $@ ++ pstopdf etc/change_log.ps $@ + rm etc/change_log.ps + + $(datarootdir)/doc/srecord/change_log.pdf: .mkdir.__datarootdir__doc_srecord \ +@@ -283,7 +283,7 @@ etc/reference.pdf: etc/BUILDING.man etc/README.man etc/coding-style.so \ + man/man5/srec_ti_txt.5 man/man5/srec_trs80.5 \ + man/man5/srec_vmem.5 man/man5/srec_wilson.5 + $(GROFF) -Tps -s -I. -t -man etc/reference.man > etc/reference.ps +- ps2pdf etc/reference.ps $@ ++ pstopdf etc/reference.ps $@ + rm etc/reference.ps + + $(datarootdir)/doc/srecord/reference.pdf: .mkdir.__datarootdir__doc_srecord \ +EOF |