homebrew-core/Formula/cssembed.rb

13 lines
405 B
Ruby

require 'formula'
class Cssembed < Formula
homepage 'http://www.nczonline.net/blog/2009/11/03/automatic-data-uri-embedding-in-css-files/'
url 'https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar'
sha1 'c170f4a6a19f2f86ebd04208cc71d017b3a6f907'
def install
libexec.install "cssembed-#{version}.jar"
bin.write_jar_script libexec/"cssembed-#{version}.jar", "cssembed"
end
end