diff options
Diffstat (limited to 'homebrew/gnubarcode/.beer')
-rw-r--r-- | homebrew/gnubarcode/.beer | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/homebrew/gnubarcode/.beer b/homebrew/gnubarcode/.beer new file mode 100644 index 000000000..211c1b483 --- /dev/null +++ b/homebrew/gnubarcode/.beer @@ -0,0 +1,52 @@ +{ + "name": "GnuBarcode", + "description": "Convert text strings to printed bars", + "url": "https://ftp.gnu.org/gnu/barcode/barcode-0.99.tar.gz", + "mirror": "https://ftpmirror.gnu.org/barcode/barcode-0.99.tar.gz", + "homepage": "https://www.gnu.org/software/barcode/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff -bur barcode-original/barcode.h barcode-new/barcode.h\n", + "--- barcode-original/barcode.h 2013-03-29 16:51:07.000000000 -0500\n", + "+++ barcode-new/barcode.h 2015-08-16 16:06:23.000000000 -0500\n", + "@@ -123,6 +123,6 @@\n", + " }\n", + " #endif\n", + "\n", + "-int streaming;\n", + "+extern int streaming;\n", + "\n", + " #endif /* _BARCODE_H_ */\n", + "diff -bur barcode-original/pcl.c barcode-new/pcl.c\n", + "--- barcode-original/pcl.c 2013-03-29 17:23:31.000000000 -0500\n", + "+++ barcode-new/pcl.c 2015-08-16 16:07:06.000000000 -0500\n", + "@@ -29,6 +29,7 @@\n", + "\n", + " #define SHRINK_AMOUNT 0.15 /* shrink the bars to account for ink spreading */\n", + "\n", + "+int streaming;\n", + "\n", + " /*\n", + " * How do the \"partial\" and \"textinfo\" strings work? See file \"ps.c\"\n" + ] + } + ], + "install": [ + "system \"./configure\", \"ac_cv_func_calloc_0_nonnull=yes\",", + "\"--disable-debug\",", + "\"--disable-dependency-tracking\",", + "\"--prefix=#{prefix}\"", + "system \"make\"", + "system \"make\", \"MAN1DIR=#{man1}\",", + "\"MAN3DIR=#{man3}\",", + "\"INFODIR=#{info}\",", + "\"install\"" + ], + "version": "0.99", + "file": "gnu-barcode.rb" +}
\ No newline at end of file |