File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
class Makensis < Formula
2
2
desc "System to create Windows installers"
3
3
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 "
6
6
license "Zlib"
7
7
8
8
bottle do
@@ -22,8 +22,12 @@ class Makensis < Formula
22
22
uses_from_macos "zlib"
23
23
24
24
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
27
31
end
28
32
29
33
def install
@@ -36,8 +40,10 @@ def install
36
40
# Don't strip, see https://github.com/Homebrew/homebrew/issues/28718
37
41
"STRIP=0" ,
38
42
"VERSION=#{ version } " ,
43
+ # Scons dependency disables superenv in brew
44
+ "APPEND_CCFLAGS=#{ ENV . cflags } " ,
45
+ "APPEND_LINKFLAGS=#{ ENV . ldflags } " ,
39
46
]
40
- args << "APPEND_LINKFLAGS=-Wl,-rpath,#{ rpath } " if OS . linux?
41
47
42
48
system "scons" , "makensis" , *args
43
49
bin . install "build/urelease/makensis/makensis"
You can’t perform that action at this time.
0 commit comments