homebrew-core/Formula/abcde.rb
Jack Nagel 7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00

21 lines
554 B
Ruby

require 'formula'
class Abcde < Formula
url 'http://abcde.googlecode.com/files/abcde-2.4.2.tar.gz'
homepage 'https://code.google.com/p/abcde/'
md5 '2147527c245ed70af7b218b642201669'
depends_on 'lame' => :optional
depends_on 'vorbis-tools' => :optional
depends_on 'flac' => :optional
depends_on 'cd-discid'
depends_on 'id3v2'
depends_on 'cdrtools'
depends_on 'mkcue'
def install
bin.install 'abcde', 'cddb-tool'
etc.install 'abcde.conf' unless (etc/'abcde.conf').exist?
man1.install 'abcde.1', 'cddb-tool.1'
end
end