Skip to content

Commit

Permalink
Install lavinmq manpages (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
spuun authored Nov 5, 2024
1 parent 465b80a commit 4cf511f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/lavinmq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Lavinmq < Formula
head "https://github.com/cloudamqp/lavinmq.git"

depends_on "crystal" => :build
depends_on "help2man" => :build
depends_on "openssl" => :build
depends_on "bdw-gc"
depends_on "libevent"
Expand All @@ -16,9 +17,15 @@ def install
system "make", "bin/lavinmq", "bin/lavinmqperf", "DOCS="
system "crystal", "build", "src/lavinmqctl.cr", "-o", "bin/lavinmqctl", "--release", "--error-on-warnings",
"--link-flags=-pie"
system "make", "man"

bin.install "bin/lavinmq"
bin.install "bin/lavinmqctl"
bin.install "bin/lavinmqperf"

man1.install "man1/lavinmq.1"
man1.install "man1/lavinmqctl.1"
man1.install "man1/lavinmqperf.1"
end

service do
Expand Down

0 comments on commit 4cf511f

Please sign in to comment.