-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e669b93
commit 254ffab
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
class Catgirl < Formula | ||
desc "Terminal IRC client" | ||
homepage "https://git.causal.agency/catgirl/about/" | ||
url "https://git.causal.agency/catgirl/snapshot/catgirl-2.2a.tar.gz" | ||
sha256 "c6d760aaee134e052586def7a9103543f7281fde6531fbcb41086470794297c2" | ||
license "GPL-3.0-or-later" | ||
|
||
depends_on "ctags" => :build | ||
depends_on "pkgconf" => :build | ||
|
||
depends_on "libretls" | ||
uses_from_macos "ncurses" | ||
|
||
def install | ||
args = %W[ | ||
--mandir=#{man} | ||
] | ||
|
||
args << "--enable-sandman" if OS.mac? | ||
|
||
system "./configure", "--disable-silent-rules", *std_configure_args, *args | ||
system "make" | ||
system "make", "install" | ||
end | ||
|
||
test do | ||
output = shell_output(bin/"catgirl 2>&1", 64) | ||
assert_match "catgirl: host required", output | ||
end | ||
end |