gnutls: override configure tests for cross builds.
This commit is contained in:
parent
2ad80e56f4
commit
b5ef9c9609
|
@ -5,8 +5,9 @@ revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-zlib --disable-guile --disable-static
|
configure_args="--with-zlib --disable-guile --disable-static
|
||||||
--disable-valgrind-tests --disable-rpath
|
--disable-valgrind-tests --disable-rpath
|
||||||
--with-libnettle-prefix=$XBPS_CROSS_BASE/usr
|
--with-libz-prefix=$XBPS_CROSS_BASE/usr
|
||||||
--with-libz-prefix=$XBPS_CROSS_BASE/usr"
|
gl_cv_func_strerror_0_works=yes gl_cv_func_working_strerror=yes
|
||||||
|
gl_cv_func_strerror_r_works=yes"
|
||||||
short_desc="GNU Transport Layer Security library"
|
short_desc="GNU Transport Layer Security library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.gnu.org/software/gnutls/"
|
homepage="http://www.gnu.org/software/gnutls/"
|
||||||
|
@ -14,16 +15,13 @@ license="GPL-3, LGPL-2.1"
|
||||||
distfiles="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-${version}.tar.xz"
|
distfiles="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-${version}.tar.xz"
|
||||||
checksum=7ca3e261402e90344585cbd5cc54379f4e294697b2cc7cd979458707666ac872
|
checksum=7ca3e261402e90344585cbd5cc54379f4e294697b2cc7cd979458707666ac872
|
||||||
|
|
||||||
hostmakedepends="pkg-config which"
|
hostmakedepends="pkg-config which libtool"
|
||||||
makedepends="zlib-devel lzo-devel readline-devel libgpg-error-devel
|
makedepends="zlib-devel lzo-devel readline-devel libgpg-error-devel
|
||||||
libtasn1-devel>=3.2 libgcrypt-devel p11-kit-devel nettle-devel libidn-devel"
|
libtasn1-devel>=3.2 libgcrypt-devel p11-kit-devel nettle-devel libidn-devel"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
pre_configure() {
|
||||||
hostmakedepends+=" libtool automake gettext-devel"
|
libtoolize -f
|
||||||
pre_configure() {
|
}
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
fi
|
|
||||||
|
|
||||||
gnutls-devel_package() {
|
gnutls-devel_package() {
|
||||||
depends="zlib-devel libtasn1-devel p11-kit-devel nettle-devel
|
depends="zlib-devel libtasn1-devel p11-kit-devel nettle-devel
|
||||||
|
|
Loading…
Reference in a new issue