blob: 9497d8acedf9d1d91d09275929591b0bbe4ddcb1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=libssh2
pkgver=1.8.0
pkgrel=2
pkgdesc="Library for accessing SSH servers"
url="https://libssh2.org/"
arch="all"
options="!check" # Requires deprecated UsePrivilegeSeparation option.
license="BSD-3-Clause"
makedepends_host="openssl-dev zlib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://libssh2.org/download/libssh2-$pkgver.tar.gz"
prepare() {
cd "$builddir"
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-libssl-prefix="${CBUILDROOT}"/usr \
--disable-rpath
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="289aa45c4f99653bebf5f99565fe9c519abc204feb2084b47b7cc3badc8bf4ecdedd49ea6acdce8eb902b3c00995d5f92a3ca77b2508b92f04ae0e7de7287558 libssh2-1.8.0.tar.gz"
|