-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibaudout.rb
More file actions
20 lines (17 loc) · 835 Bytes
/
libaudout.rb
File metadata and controls
20 lines (17 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Libaudout < Formula
desc "C++ cross-platform audio output library."
homepage "https://github.com/cppfw/audout"
url "https://github.com/cppfw/audout/archive/0.3.49.tar.gz"
sha256 "a6623c5791da4112ead274b19a39c91936b51339f173890f9ad2901137131183"
depends_on "prorab" => :build
depends_on "libnitki" => :build
depends_on "libutki"
# 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