homebrew-core/Formula/irssi.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00

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