summaryrefslogtreecommitdiff
path: root/repo/system/libssh2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-02 18:24:36 +0000
committerdavidovski <david@davidovski.xyz>2022-02-02 18:24:36 +0000
commit16d84db4a6fd29352492ea64b157856a6f1b7af9 (patch)
treeab9740ad1dbf2f80537f82b57a39084f3f360d1e /repo/system/libssh2.xibuild
parent96471a1a300810a772bfe0d150d75a255641b4ae (diff)
added polkit deps
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
+}