-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpcaudiolib.rb
30 lines (25 loc) · 862 Bytes
/
pcaudiolib.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
25
26
27
28
29
30
# typed: false
# frozen_string_literal: true
class Pcaudiolib < Formula
desc "Portable C Audio Library"
homepage "https://github.com/espeak-ng/pcaudiolib"
url "https://github.com/espeak-ng/pcaudiolib/archive/1.1.tar.gz"
sha256 "699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b"
bottle do
root_url "https://github.com/danielbair/homebrew-tap/releases/download/bottles"
sha256 cellar: :any, yosemite: "904084feb6e8fa59210e98e5d4d97c5fc2c6c84954d9dc682bbb4b18eddabd9a"
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
def install
system "./autogen.sh"
system "./configure", "--prefix=#{prefix}"
system "make", "PREFIX=#{prefix}"
system "make", "PREFIX=#{prefix}", "install"
end
test do
# nothing
end
end