aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/polarssl.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/polarssl.rb b/Library/Formula/polarssl.rb
new file mode 100644
index 000000000..d9a936be4
--- /dev/null
+++ b/Library/Formula/polarssl.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Polarssl < Formula
+ homepage 'http://polarssl.org/'
+ url 'http://polarssl.org/code/releases/polarssl-1.1.4-gpl.tgz'
+ sha1 '3dd10bd1a8f7f58e0ef8c91cfa5ea7efd5d5f4bc'
+
+ depends_on 'cmake' => :build
+
+ def install
+ system "cmake", ".", *std_cmake_args
+ system "make"
+ system "make install"
+ end
+end