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.
13 lines
299 B
Ruby
13 lines
299 B
Ruby
require 'formula'
|
|
|
|
class Antiword <Formula
|
|
@url='http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz'
|
|
@homepage='http://www.winfield.demon.nl/'
|
|
@md5='f868e2a269edcbc06bf77e89a55898d1'
|
|
|
|
def install
|
|
system 'make'
|
|
bin.install 'antiword'
|
|
man1.install 'Docs/antiword.1'
|
|
end
|
|
end
|