blob: 748464ebdf9a3c9a19666b3bd423864f6f961c57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class NsisSupport < Formula
url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip'
sha1 '2cc9bff130031a0b1d76b01ec0a9136cdf5992ce'
end
class Makensis < Formula
url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46-src.tar.bz2'
homepage 'http://nsis.sourceforge.net/'
sha1 '2cc9bff130031a0b1d76b01ec0a9136cdf5992ce'
depends_on 'scons' => :build
def install
system "scons makensis"
bin.install "build/release/makensis/makensis"
NsisSupport.new.brew { (share+"nsis").install Dir['*'] }
end
end
|