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
310 B
Ruby
12 lines
No EOL
310 B
Ruby
require 'formula'
|
|
|
|
class Libsamplerate <Formula
|
|
@homepage='http://www.mega-nerd.com/SRC'
|
|
@url='http://www.mega-nerd.com/SRC/libsamplerate-0.1.7.tar.gz'
|
|
@md5='ad093e60ec44f0a60de8e29983ddbc0f'
|
|
|
|
def install
|
|
system "./configure --disable-debug --prefix='#{prefix}'"
|
|
system "make install"
|
|
end
|
|
end |