2010-11-09 17:49:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jsmin < Formula
|
2010-11-09 17:49:48 +00:00
|
|
|
homepage 'http://www.crockford.com/javascript/jsmin.html'
|
2013-01-28 04:59:45 +00:00
|
|
|
url 'https://github.com/douglascrockford/JSMin/tarball/8f62fe05856935ddcd49e364502ed98c4cf555b8'
|
2010-11-09 17:49:48 +00:00
|
|
|
version '2008-08-03'
|
2013-01-28 04:59:45 +00:00
|
|
|
sha1 'b2a620042c97a8d9cc0be18b86ff9e62e8405806'
|
2010-11-09 17:49:48 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system 'cc jsmin.c -o jsmin'
|
|
|
|
bin.install 'jsmin'
|
|
|
|
end
|
|
|
|
end
|