Skip to content

Commit

Permalink
Create yaku-ns.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmyczko authored Feb 13, 2024
1 parent 2965d8d commit 396f38f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions yaku-ns.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
class YakuNs < Formula
desc "Small footprint, trivial to configure, DNS server"
homepage "https://github.com/antirez/yaku-ns"
url "https://deb.debian.org/debian/pool/main/y/yaku-ns/yaku-ns_0.2.orig.tar.gz"
sha256 "9ad94c49d399d7b3b19e9042dd7a9413082d90c1f8efedb68f60332ef59c3fe6"
license "GPL-3.0-or-later"

depends_on "gcc" => :build

fails_with :clang

def install
ENV["CC"] = "gcc-13"
system "make"
bin.install "yaku-ns"
bin.install "yaku-getzone"
# man1.install "yaku-ns.1"
end

test do
system "#{bin}/yaku-ns", "-v"
end
end

0 comments on commit 396f38f

Please sign in to comment.