Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit 1a7e10a

Browse files
committed
portable-ncurses 6.1
1 parent 4887a29 commit 1a7e10a

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

Formula/portable-ncurses.rb

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,12 @@
33
class PortableNcurses < PortableFormula
44
desc "Portable ncurses"
55
homepage "https://www.gnu.org/s/ncurses/"
6-
url "https://ftpmirror.gnu.org/ncurses/ncurses-6.0.tar.gz"
7-
mirror "https://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz"
8-
sha256 "f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260"
9-
revision 1
6+
url "https://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz"
7+
mirror "https://ftpmirror.gnu.org/ncurses/ncurses-6.1.tar.gz"
8+
sha256 "aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17"
109

1110
depends_on "pkg-config" => :build
1211

13-
# stable rollup patch created by upstream see
14-
# http://invisible-mirror.net/archives/ncurses/6.0/README
15-
resource "ncurses-6.0-20160910-patch.sh" do
16-
url "http://invisible-mirror.net/archives/ncurses/6.0/ncurses-6.0-20160910-patch.sh.bz2"
17-
mirror "https://www.mirrorservice.org/sites/lynx.invisible-island.net/ncurses/6.0/ncurses-6.0-20160910-patch.sh.bz2"
18-
sha256 "f570bcfe3852567f877ee6f16a616ffc7faa56d21549ad37f6649022f8662538"
19-
end
20-
2112
def install
2213
ENV.universal_binary if build.with? "universal"
2314

@@ -30,10 +21,6 @@ def install
3021

3122
(lib/"pkgconfig").mkpath
3223

33-
# stage and apply patch
34-
buildpath.install resource("ncurses-6.0-20160910-patch.sh")
35-
system "sh", "ncurses-6.0-20160910-patch.sh"
36-
3724
system "./configure", "--disable-dependency-tracking",
3825
"--prefix=#{prefix}",
3926
"--enable-static",

0 commit comments

Comments
 (0)