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
364 B
Ruby
12 lines
364 B
Ruby
require 'formula'
|
|
|
|
class Shorten <Formula
|
|
@url='http://www.etree.org/shnutils/shorten/dist/src/shorten-3.6.1.tar.gz'
|
|
@homepage='http://www.etree.org/shnutils/shorten/'
|
|
@md5='fb59c16fcedc4f4865d277f6e45866a7'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|