mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
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'
|
# Template file for 'libssh2'
|
||||||
pkgname=libssh2
|
pkgname=libssh2
|
||||||
version=1.4.3
|
version=1.4.3
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
makedepends="openssl-devel"
|
makedepends="openssl-devel"
|
||||||
|
@ -16,9 +16,13 @@ long_desc="
|
||||||
regular terminal, SCP and SFTP sessions; port forwarding; password, key-based
|
regular terminal, SCP and SFTP sessions; port forwarding; password, key-based
|
||||||
and keyboard-interactive authentication."
|
and keyboard-interactive authentication."
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE"
|
||||||
|
fi
|
||||||
|
|
||||||
libssh2-devel_package() {
|
libssh2-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}"
|
depends="${sourcepkg}>=${version}"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
@ -28,6 +32,6 @@ libssh2-devel_package() {
|
||||||
|
|
||||||
libssh2_package() {
|
libssh2_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue