Commit Graph

6 Commits (a3668786363b8e5661b48994f376a4edb28d2bdb)

Author SHA1 Message Date
Jack Nagel 7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
Jack Nagel 2c9d18901f jbigkit: pass vars directly to make
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-05 16:53:52 -05:00
Jack Nagel 93b63e2743 jbigkit: clean up test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-05 16:53:39 -05:00
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Jack Nagel 3486cbd462 Avoid hard-coding 'make -j1'
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-09 13:57:47 -06:00
Nibbles McGurk 8485926d28 New Formula: jbigkit
Jbigkit includes libjbig, a C Library for JBIG1 images, and two CLI
programs called pbmtojbg and jbgtopbm.  Jbigkit builds without a
'configure' using only a Makefile that gets patched by the formula
with good CCFLAGS.  The makefile comes set with CC = gcc, and it
overrides all relevant compiler variables except MAKEFLAGS with
very good results.  The jbigkit formula builds a universal library,
but the makefile is only written to create a static one.  There is
no make install function to date. The library has no dependencies,
but it can be used by libtiff, which will automatically find it
during libtiff's configure.  Jbigkit was tested on Mac OSX 10.6.8,
with a 64bit kernel, and gcc-4.2.1.

Closes Homebrew/homebrew#7699.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-23 19:09:58 -07:00