aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBen Alpert2009-08-31 23:17:33 -0600
committerMax Howell2009-09-01 11:35:23 +0100
commit83ac50cc580a37f619b43dc6d877bb428f2bc0b3 (patch)
treedb1a749a33cdda52427e57beedf3a9d5ff17875d /Library
parent93b7e583b70022292575061ad5be413727ab84a1 (diff)
downloadhomebrew-83ac50cc580a37f619b43dc6d877bb428f2bc0b3.tar.bz2
XAR formula
The XAR project aims to provide an easily extensible archive format.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/xar.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/xar.rb b/Library/Formula/xar.rb
new file mode 100644
index 000000000..70e7d888e
--- /dev/null
+++ b/Library/Formula/xar.rb
@@ -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