aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-05-11 20:16:48 -0500
committerJack Nagel2013-05-11 20:16:48 -0500
commitb9b985f400001f13f6e7d419383e6bc693c9a68f (patch)
treec8d5fd8a8ace9264e15f507e210e6191b3069c54 /Library
parent9f1235d6a08c7acad67f2514c115b53082d3e4bb (diff)
downloadhomebrew-b9b985f400001f13f6e7d419383e6bc693c9a68f.tar.bz2
Import libarchive 3.1.2 from dupes
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libarchive.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/libarchive.rb b/Library/Formula/libarchive.rb
new file mode 100644
index 000000000..d4613921d
--- /dev/null
+++ b/Library/Formula/libarchive.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Libarchive < Formula
+ homepage 'http://www.libarchive.org'
+ url 'http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz'
+ sha1 '6a991777ecb0f890be931cec4aec856d1a195489'
+
+ keg_only :provided_by_osx
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--without-lzma",
+ "--without-lzo2",
+ "--without-nettle",
+ "--without-xml2"
+ system "make install"
+ end
+end