homebrew-core/Formula/makensis.rb
2013-09-11 22:05:31 -07:00

20 lines
569 B
Ruby

require 'formula'
class Makensis < Formula
homepage 'http://nsis.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46-src.tar.bz2'
sha1 '2cc9bff130031a0b1d76b01ec0a9136cdf5992ce'
depends_on 'scons' => :build
resource 'nsis' do
url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip'
sha1 'adeff823a1f8af3c19783700a6b8d9054cf0f3c2'
end
def install
system "scons makensis"
bin.install "build/release/makensis/makensis"
(share/'nsis').install resource('nsis')
end
end