Skip to content

Commit a3dbaa8

Browse files
committed
makensis 3.11
1 parent 2eb9a57 commit a3dbaa8

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Formula/m/makensis.rb

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Makensis < Formula
22
desc "System to create Windows installers"
33
homepage "https://nsis.sourceforge.net/"
4-
url "https://downloads.sourceforge.net/project/nsis/NSIS%203/3.10/nsis-3.10-src.tar.bz2"
5-
sha256 "11b54a6307ab46fef505b2700aaf6f62847c25aa6eebaf2ae0aab2f17f0cb297"
4+
url "https://downloads.sourceforge.net/project/nsis/NSIS%203/3.11/nsis-3.11-src.tar.bz2"
5+
sha256 "19e72062676ebdc67c11dc032ba80b979cdbffd3886c60b04bb442cdd401ff4b"
66
license "Zlib"
77

88
bottle do
@@ -22,8 +22,12 @@ class Makensis < Formula
2222
uses_from_macos "zlib"
2323

2424
resource "nsis" do
25-
url "https://downloads.sourceforge.net/project/nsis/NSIS%203/3.09/nsis-3.09.zip"
26-
sha256 "f5dc52eef1f3884230520199bac6f36b82d643d86b003ce51bd24b05c6ba7c91"
25+
url "https://downloads.sourceforge.net/project/nsis/NSIS%203/3.11/nsis-3.11.zip"
26+
sha256 "c7d27f780ddb6cffb4730138cd1591e841f4b7edb155856901cdf5f214394fa1"
27+
28+
livecheck do
29+
formula :parent
30+
end
2731
end
2832

2933
def install
@@ -36,8 +40,10 @@ def install
3640
# Don't strip, see https://github.com/Homebrew/homebrew/issues/28718
3741
"STRIP=0",
3842
"VERSION=#{version}",
43+
# Scons dependency disables superenv in brew
44+
"APPEND_CCFLAGS=#{ENV.cflags}",
45+
"APPEND_LINKFLAGS=#{ENV.ldflags}",
3946
]
40-
args << "APPEND_LINKFLAGS=-Wl,-rpath,#{rpath}" if OS.linux?
4147

4248
system "scons", "makensis", *args
4349
bin.install "build/urelease/makensis/makensis"

0 commit comments

Comments
 (0)