aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/openconnect.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/openconnect.rb b/Library/Formula/openconnect.rb
new file mode 100644
index 000000000..728387cc2
--- /dev/null
+++ b/Library/Formula/openconnect.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Openconnect <Formula
+ url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-2.26.tar.gz'
+ homepage 'http://www.infradead.org/openconnect.html'
+ md5 'e3c7605fed128efe39c2eb9400af6765'
+
+ def install
+ inreplace 'Makefile' do |s|
+ s.gsub! '$(DESTDIR)/usr/bin', "$(DESTDIR)#{bin}"
+ s.gsub! '$(DESTDIR)/usr/libexec', "$(DESTDIR)#{libexec}"
+ end
+ system "make install"
+ end
+end