require 'formula' class Yamdi < Formula desc "Add metadata to Flash video" homepage 'http://yamdi.sourceforge.net/' url 'https://downloads.sourceforge.net/project/yamdi/yamdi/1.9/yamdi-1.9.tar.gz' sha1 '921d23f3059fa21319b74de945bb7cf565e2d67e' def install system "#{ENV.cc} #{ENV.cflags} yamdi.c -o yamdi" bin.install "yamdi" man1.install "man1/yamdi.1" end end