2010-06-05 16:39:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class EyeD3 < Formula
|
2010-06-05 16:39:20 +00:00
|
|
|
homepage 'http://eyed3.nicfit.net/'
|
2012-08-05 03:26:20 +00:00
|
|
|
url 'http://eyed3.nicfit.net/releases/eyeD3-0.6.18.tar.gz'
|
|
|
|
sha1 'd8887f7b75306bd293e0b0d46a977e73225ae7b5'
|
2010-06-05 16:39:20 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
man1.install "doc/eyeD3.1.in" => "eyeD3.1"
|
2010-11-01 17:39:41 +00:00
|
|
|
|
|
|
|
# Manually process this file
|
|
|
|
inreplace "src/eyeD3/__init__.py.in" do |s|
|
|
|
|
s.change_make_var! "eyeD3Version", "\"#{version}\""
|
2014-02-06 23:58:31 +00:00
|
|
|
s.change_make_var! "eyeD3Maintainer", "\"Packaged by Homebrew\""
|
2010-11-01 17:39:41 +00:00
|
|
|
end
|
|
|
|
mv "src/eyeD3/__init__.py.in", "src/eyeD3/__init__.py"
|
|
|
|
|
2010-06-05 16:39:20 +00:00
|
|
|
libexec.install "src/eyeD3"
|
|
|
|
libexec.install "bin/eyeD3" => "eyeD3_script"
|
2014-02-06 23:58:31 +00:00
|
|
|
bin.install_symlink libexec+"eyeD3_script" => "eyeD3"
|
2010-06-05 16:39:20 +00:00
|
|
|
end
|
|
|
|
end
|