homebrew-core/Formula/cssembed.rb

16 lines
438 B
Ruby
Raw Normal View History

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
2012-02-11 20:00:58 +00:00
java -jar "#{libexec}/cssembed-0.4.5.jar" "$@"
EOS
end
end