6c5a4f68cc
The makefile includes a prebuilt Linux binary that has to be cleaned out before `make` will do anything.
18 lines
506 B
Ruby
18 lines
506 B
Ruby
require 'formula'
|
|
|
|
class Id3v2 < Formula
|
|
homepage 'http://id3v2.sourceforge.net/'
|
|
url 'http://downloads.sourceforge.net/project/id3v2/id3v2/0.1.12/id3v2-0.1.12.tar.gz'
|
|
sha1 '8f42153b2f53098c221da2e8fe42170e727cd9ad'
|
|
|
|
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
|