Basically Formulae are now classes that get dynamically loaded by the brew script. This gives me more flexability.
12 lines
310 B
Ruby
12 lines
310 B
Ruby
require 'brewkit'
|
|
|
|
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 |