blob: b71e5b9c427ecbe087d6925f7f1785cd206d626d (
plain)
| 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
 | class Mp3info < Formula
  homepage "http://www.ibiblio.org/mp3info/"
  url "http://www.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-0.8.5a.tgz"
  sha1 "54df29eb6c2e581899affc12be698b0a71d91ca6"
  bottle do
    cellar :any
    sha1 "760a13887c10169cf2a3553b294a5ec4a7f8cf9f" => :yosemite
    sha1 "6cca8a83250afeba2e85a996c169865d09743d7e" => :mavericks
    sha1 "2f2840e15a53c1d3f52cced47d943604c7b6fdf9" => :mountain_lion
  end
  patch :p0 do
    url "https://trac.macports.org/export/34602/trunk/dports/audio/mp3info/files/patch-mp3tech.c.diff"
    sha1 "ca270ee34f87c560d0e508096a1becaae3d5feff"
  end
  def install
    system "make", "mp3info", "doc"
    bin.install "mp3info"
    man1.install "mp3info.1"
  end
  test do
    system bin/"mp3info", "-x", test_fixtures("test.mp3")
  end
end
 |