diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-18 18:25:48 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-18 18:25:48 -0500 |
commit | 7dce5397c50b1b46c4c1f2a5bef3a78238d09140 (patch) | |
tree | 662a185ca948ae3c9688bb9412021a665672bd14 | |
parent | 8c0fefc6e9452639c4139657c7dc86e0f7cbde9c (diff) | |
download | packages-7dce5397c50b1b46c4c1f2a5bef3a78238d09140.tar.gz packages-7dce5397c50b1b46c4c1f2a5bef3a78238d09140.tar.bz2 packages-7dce5397c50b1b46c4c1f2a5bef3a78238d09140.tar.xz packages-7dce5397c50b1b46c4c1f2a5bef3a78238d09140.zip |
system/libssh2: pull in for curl
-rw-r--r-- | system/libssh2/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/system/libssh2/APKBUILD b/system/libssh2/APKBUILD new file mode 100644 index 000000000..d4d562edc --- /dev/null +++ b/system/libssh2/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libssh2 +pkgver=1.8.0 +pkgrel=2 +pkgdesc="library for accessing ssh1/ssh2 protocol servers" +url="https://libssh2.org/" +arch="all" +options="!checkroot" +license="BSD-3-Clause" +makedepends="openssl-dev zlib-dev" +subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc" +source="http://www.libssh2.org/download/libssh2-$pkgver.tar.gz" + +prepare() { + cd "$builddir" + update_config_sub + default_prepare +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="289aa45c4f99653bebf5f99565fe9c519abc204feb2084b47b7cc3badc8bf4ecdedd49ea6acdce8eb902b3c00995d5f92a3ca77b2508b92f04ae0e7de7287558 libssh2-1.8.0.tar.gz" |