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.
19 lines
488 B
Ruby
19 lines
488 B
Ruby
require 'formula'
|
|
|
|
class Irssi <Formula
|
|
@url='http://irssi.org/files/irssi-0.8.14.tar.bz2'
|
|
@homepage='http://irssi.org/'
|
|
@md5='00efe7638dd596d5930dfa2aeae87b3a'
|
|
|
|
depends_on 'pkg-config'
|
|
depends_on 'glib'
|
|
|
|
def skip_clean? path
|
|
path == bin+'irssi'
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-modules", "--enable-ssl", "--enable-ipv6", "--with-perl=yes"
|
|
system "make install"
|
|
end
|
|
end
|