61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
No EOL
263 B
Ruby
12 lines
No EOL
263 B
Ruby
require 'formula'
|
|
|
|
class Jpeg <Formula
|
|
@url='http://www.ijg.org/files/jpegsrc.v7.tar.gz'
|
|
@md5='382ef33b339c299b56baf1296cda9785'
|
|
@homepage='http://www.ijg.org'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end |