diff options
| author | Lee Packham | 2010-07-10 21:32:50 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-10 13:40:03 -0700 |
| commit | 4f032d4a504b85d9d1b32339200641dde6eecf33 (patch) | |
| tree | ff04a60b38de59e016cd2da8ebf4d56fb869aef9 /Library/Formula | |
| parent | 5105e2c3187aa6c96f9900711bab88dd691c65a5 (diff) | |
| download | homebrew-4f032d4a504b85d9d1b32339200641dde6eecf33.tar.bz2 | |
makensis 2.46
(includes everything from NSIS 2.46, plugins and extensions and the like).
Basically only makensis can cross-compile. Then you need all the Win32 DLLs
from the binary distribution. That is what I've done here.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Added aka
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/makensis.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/makensis.rb b/Library/Formula/makensis.rb new file mode 100644 index 000000000..cd462bd8a --- /dev/null +++ b/Library/Formula/makensis.rb @@ -0,0 +1,23 @@ +require 'formula' + +class NsisSupport <Formula + url 'http://downloads.sourceforge.net/project/nsis/NSIS%202/2.46/nsis-2.46.zip' + md5 'd7e43beabc017a7d892a3d6663e988d4' +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/' + md5 '61c2e81739436b06d7cf7bcce1d533ac' + + depends_on 'scons' + + # Note, this is not a full nsis package, but allow it to be found this way. + aka 'nsis' + + def install + system "scons makensis" + bin.install "build/release/makensis/makensis" + NsisSupport.new.brew { (share+"nsis").install Dir['*'] } + end +end |
