Formula: add ucl and upx (which depends on ucl)

This commit is contained in:
Lin Jen-Shin 2010-06-17 20:39:49 +08:00 committed by Adam Vandenberg
parent a690ec4483
commit 7c04cfece8

15
Formula/upx.rb Normal file
View file

@ -0,0 +1,15 @@
require 'formula'
class Upx <Formula
url 'http://upx.sourceforge.net/download/upx-3.05-src.tar.bz2'
homepage 'http://upx.sourceforge.net'
md5 '1f0ca94c8c26a816402274dd7e628334'
depends_on 'ucl'
def install
system "make all"
system "src/upx.out src/upx.out"
bin.install "src/upx.out" => "upx"
end
end