18 lines
542 B
Ruby
18 lines
542 B
Ruby
class Id3v2 < Formula
|
|
desc "ID3v2 editing tool"
|
|
homepage "http://id3v2.sourceforge.net/"
|
|
url "https://downloads.sourceforge.net/project/id3v2/id3v2/0.1.12/id3v2-0.1.12.tar.gz"
|
|
sha256 "8105fad3189dbb0e4cb381862b4fa18744233c3bbe6def6f81ff64f5101722bf"
|
|
|
|
depends_on "id3lib"
|
|
|
|
def install
|
|
# tarball includes a prebuilt Linux binary, which will get installed
|
|
# by `make install` if `make clean` isn't run first
|
|
system "make", "clean"
|
|
bin.mkpath
|
|
man1.mkpath
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
end
|
|
end
|