summaryrefslogtreecommitdiff
path: root/repo/system/libssh2.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libssh2.xibuild')
-rw-r--r--repo/system/libssh2.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/libssh2.xibuild b/repo/system/libssh2.xibuild
new file mode 100644
index 0000000..086b686
--- /dev/null
+++ b/repo/system/libssh2.xibuild
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(openssl openssh libgcrypt zlib)
+
+PKG_VER=1.10.0
+SOURCE=https://www.libssh2.org/download/libssh2-$PKG_VER.tar.gz
+DESC="A client-side C library implementing the SSH2 protocol"
+
+prepare () {
+ ./configure --prefix=/usr --disable-static
+}
+
+build () {
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}