2013-02-21 22:35:19 +00:00
|
|
|
class Ficy < Formula
|
2015-08-01 09:35:45 +00:00
|
|
|
desc "Icecast/Shoutcast stream grabber suite"
|
2015-04-16 23:36:03 +00:00
|
|
|
homepage "http://www.thregr.org/~wavexx/software/fIcy/"
|
|
|
|
url "http://www.thregr.org/~wavexx/software/fIcy/releases/fIcy-1.0.19.tar.gz"
|
|
|
|
sha256 "397df996fd63ce8608e62b195af61e88b0571aac01a51f1935dbf639c5424dcb"
|
|
|
|
|
|
|
|
head "https://github.com/wavexx/fIcy.git"
|
2013-02-21 22:35:19 +00:00
|
|
|
|
2015-04-17 02:48:45 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "ad3aa8d4d6fb4f80f93b4d6c021b1b22f4fbe70a761dd6ff559dd384621d503e" => :yosemite
|
|
|
|
sha256 "19606f6659322c49f2b46c042090a95b5dca1f92ade03b9208c48ffd3a00f2fd" => :mavericks
|
|
|
|
sha256 "16ca10e95e5ad7736193a2ffe95aaaf0008415390b7ed9791858b3abfe49c48b" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2013-02-21 22:35:19 +00:00
|
|
|
def install
|
|
|
|
system "make"
|
2015-04-16 23:36:03 +00:00
|
|
|
bin.install "fIcy", "fPls", "fResync"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
cp test_fixtures("test.mp3"), testpath
|
|
|
|
system "#{bin}/fResync", "-n", "1", "test.mp3"
|
2013-02-21 22:35:19 +00:00
|
|
|
end
|
|
|
|
end
|