summaryrefslogtreecommitdiff
path: root/homebrew/openconnect/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/openconnect/.make.sh-auto')
-rw-r--r--homebrew/openconnect/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/openconnect/.make.sh-auto b/homebrew/openconnect/.make.sh-auto
new file mode 100644
index 000000000..f5b2731f7
--- /dev/null
+++ b/homebrew/openconnect/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+etc.install resource("vpnc-script")
+chmod 0755, "#{etc}/vpnc-script"
+ENV["LIBTOOLIZE"] = "glibtoolize"
+./autogen.sh
+end
+args = %W[--prefix=#{prefix} --sbindir=#{bin} --localstatedir=#{var} --with-vpnc-script=#{etc}/vpnc-script ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install