-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibsetka.rb
24 lines (21 loc) · 934 Bytes
/
libsetka.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Libsetka < Formula
desc "C++ cross-platform network library."
homepage "https://github.com/cppfw/setka"
url "https://github.com/cppfw/setka/archive/1.0.39.tar.gz"
sha256 "9d6d52598a7f67c6b712d124560b1683d864a9d3767ec82021737889609dc729"
depends_on "prorab" => :build
depends_on "prorab-extra" => :build
depends_on "myci" => :build
depends_on "libnitki"
depends_on "libopros"
depends_on "libutki"
depends_on "libpapki"
# use gmake here because otherwise homebrew uses default Mac's make which is of too old version 3.81
def install
ENV['PATH'] += ":#{ENV['HOMEBREW_PREFIX']}/bin"
system "#{ENV['HOMEBREW_PREFIX']}/opt/make/libexec/gnubin/make", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "install", "PREFIX=#{prefix}", "lint=off"
end
test do
# system "#{ENV['HOMEBREW_PREFIX']}/opt/make/libexec/gnubin/make", "--include-dir=#{ENV['HOMEBREW_PREFIX']}/include", "test"
end
end