homebrew-core/Formula/msitools.rb
Jack Nagel d87063d32f Remove remaining explicit xz build-time deps
These dependencies are automatically detected from the URL, so declaring
them is redundant. If these formulae ever get a head or devel spec, then
explicit xz deps would need to be re-scoped appropriately. Thus we
should remove them.
2014-03-14 23:40:32 -05:00

31 lines
795 B
Ruby

require 'formula'
class Msitools < Formula
homepage 'https://wiki.gnome.org/msitools'
url 'http://ftp.gnome.org/pub/GNOME/sources/msitools/0.93/msitools-0.93.tar.xz'
sha1 'b8dcf394a1aeddd8404ae1702ce42af623f54101'
depends_on 'intltool' => :build
depends_on 'pkg-config' => :build
depends_on :autoconf
depends_on :automake
depends_on :libtool
depends_on 'e2fsprogs'
depends_on 'gcab'
depends_on 'gettext'
depends_on 'glib'
depends_on 'libgsf'
depends_on 'vala'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "msiinfo", "--help"
end
end