aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrandon Bennett2012-08-12 11:25:01 -0600
committerAdam Vandenberg2012-09-28 19:59:08 -0700
commitfab9f2ad75de645ce8f7c1b42f8a8c5e38b60980 (patch)
tree4cffe5a22dad088090dbbad63d19023f4bd0b6a6 /Library/Formula
parentf899ab1e214a1c5a058d1bed9427faed0512f5b4 (diff)
downloadhomebrew-fab9f2ad75de645ce8f7c1b42f8a8c5e38b60980.tar.bz2
libslax 0.11.23
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libslax.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/libslax.rb b/Library/Formula/libslax.rb
new file mode 100644
index 000000000..048502370
--- /dev/null
+++ b/Library/Formula/libslax.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Libslax < Formula
+ homepage 'https://code.google.com/p/libslax/'
+ url 'https://libslax.googlecode.com/files/libslax-0.11.23.tar.gz'
+ sha1 '0be3d52f8e9f0b048b2816086d5fa3688b0d8364'
+
+ depends_on 'libtool' => :build
+
+ # Need newer versions of these libraries
+ if MacOS.version <= :lion
+ depends_on 'libxml2'
+ depends_on 'libxslt'
+ depends_on 'curl'
+ end
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+end