-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibaumiks.rb
More file actions
22 lines (19 loc) · 893 Bytes
/
libaumiks.rb
File metadata and controls
22 lines (19 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class Libaumiks < Formula
desc "C++ cross-platform audio mixer library."
homepage "https://github.com/cppfw/aumiks"
url "https://github.com/cppfw/aumiks/archive/0.3.44.tar.gz"
sha256 "7b6188327287edbf18fb1a3bea3f5b4e22beb94e7c0252e3ea7dac3793cc8c4e"
depends_on "prorab" => :build
depends_on "prorab-extra" => :build
depends_on "myci" => :build
depends_on "libaudout"
depends_on "libfsif"
# 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