homebrew-core/Formula/cssembed.rb
2012-02-11 15:20:53 -08:00

15 lines
438 B
Ruby

require 'formula'
class Cssembed < Formula
url 'https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar'
homepage 'http://www.nczonline.net/blog/2009/11/03/automatic-data-uri-embedding-in-css-files/'
md5 'cb98a8d7e18213b1a6e6c88e1d43f513'
def install
libexec.install "cssembed-0.4.5.jar"
(bin+'cssembed').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/cssembed-0.4.5.jar" "$@"
EOS
end
end