2010-07-10 20:32:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class NsisSupport < Formula
|
2010-07-10 20:32:50 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip'
|
2012-09-04 01:59:06 +00:00
|
|
|
sha1 'adeff823a1f8af3c19783700a6b8d9054cf0f3c2'
|
2010-07-10 20:32:50 +00:00
|
|
|
end
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Makensis < Formula
|
2010-07-10 20:32:50 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46-src.tar.bz2'
|
|
|
|
homepage 'http://nsis.sourceforge.net/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '2cc9bff130031a0b1d76b01ec0a9136cdf5992ce'
|
2010-07-10 20:32:50 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'scons' => :build
|
2010-07-10 20:32:50 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "scons makensis"
|
|
|
|
bin.install "build/release/makensis/makensis"
|
|
|
|
NsisSupport.new.brew { (share+"nsis").install Dir['*'] }
|
|
|
|
end
|
|
|
|
end
|