libssh2: cross build support.
This commit is contained in:
parent
b67ebf1148
commit
03bb941fe8
1 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libssh2'
|
||||
pkgname=libssh2
|
||||
version=1.4.3
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
makedepends="openssl-devel"
|
||||
|
@ -16,9 +16,13 @@ long_desc="
|
|||
regular terminal, SCP and SFTP sessions; port forwarding; password, key-based
|
||||
and keyboard-interactive authentication."
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE"
|
||||
fi
|
||||
|
||||
libssh2-devel_package() {
|
||||
depends="${sourcepkg}>=${version}"
|
||||
short_desc="${short_desc} -- development files"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
|
@ -28,6 +32,6 @@ libssh2-devel_package() {
|
|||
|
||||
libssh2_package() {
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue