gnutls: update to 3.1.10; cross build support.
This commit is contained in:
parent
8bebdd88bb
commit
177931b970
1 changed files with 18 additions and 7 deletions
|
@ -1,18 +1,29 @@
|
||||||
# Template build file for 'gnutls'.
|
# Template build file for 'gnutls'.
|
||||||
pkgname=gnutls
|
pkgname=gnutls
|
||||||
version=3.1.9
|
version=3.1.10
|
||||||
revision=2
|
revision=1
|
||||||
makedepends="pkg-config lzo-devel readline-devel libgpg-error-devel
|
|
||||||
libtasn1-devel>=3.2 libgcrypt-devel p11-kit-devel nettle-devel"
|
|
||||||
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-valgrind-tests --disable-rpath"
|
||||||
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/"
|
||||||
license="GPL-3, LGPL-2.1"
|
license="GPL-3, LGPL-2.1"
|
||||||
distfiles="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-${version}.tar.xz"
|
distfiles="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-${version}.tar.xz"
|
||||||
checksum=0900c4ae2e026a4c714d88e1aa134db2e0be9ecddf0be9641ade5dafcf877c3e
|
checksum=535373f59c88c171429ed3c4777dc7126681b597e3adca95aa88ecbb69e7c646
|
||||||
|
|
||||||
|
hostmakedepends="pkg-config which"
|
||||||
|
makedepends="zlib-devel lzo-devel readline-devel libgpg-error-devel
|
||||||
|
libtasn1-devel>=3.2 libgcrypt-devel p11-kit-devel nettle-devel libidn-devel"
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" libtool automake gettext-devel"
|
||||||
|
configure_args+=" --with-libnettle-prefix=$XBPS_CROSS_BASE
|
||||||
|
--with-libz-prefix=$XBPS_CROSS_BASE"
|
||||||
|
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
|
||||||
|
@ -36,6 +47,6 @@ gnutls-tools_package() {
|
||||||
|
|
||||||
gnutls_package() {
|
gnutls_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue