XAR formula

The XAR project aims to provide an easily extensible archive format.
This commit is contained in:
Ben Alpert 2009-08-31 23:17:33 -06:00 committed by Max Howell
parent 8e6b52b392
commit 62b48f298d

19
Formula/xar.rb Normal file
View file

@ -0,0 +1,19 @@
require 'brewkit'
class Xar <Formula
@url='http://xar.googlecode.com/files/xar-1.5.2.tar.gz'
@homepage='http://code.google.com/p/xar/'
@md5='8eabb055d3387b8edc30ecfb08d2e80d'
def patches
{
:p1 => ["http://gist.github.com/raw/178912/fe729be5b2572fd8f09eb6b60c9203a35ef1e8c3/gistfile1.diff"]
}
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make"
system "make install"
end
end