homebrew-core/Formula/id3ed.rb

30 lines
967 B
Ruby
Raw Normal View History

class Id3ed < Formula
desc "ID3 tag editor for MP3 files"
homepage "http://code.fluffytapeworm.com/projects/id3ed"
url "http://code.fluffytapeworm.com/projects/id3ed/id3ed-1.10.4.tar.gz"
sha256 "56f26dfde7b6357c5ad22644c2a379f25fce82a200264b5d4ce62f2468d8431b"
2015-01-01 20:55:41 +00:00
bottle do
cellar :any
sha1 "ef017f7b0b088be78071487e6c39f3a3e0d43cca" => :yosemite
sha1 "c40ca26c9c0e89f78c21f852340342063f5b82f9" => :mavericks
sha1 "b49bc15f4ed27f61c12bc903cf2a7eb60293c65e" => :mountain_lion
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--bindir=#{bin}/",
"--mandir=#{man1}"
bin.mkpath
man1.mkpath
system "make", "install"
end
test do
system "#{bin}/id3ed", "-r", "-q", test_fixtures("test.mp3")
end
end