opt/gnutls/Pkgfile
Jose V Beneyto 361d86fc3d [notify] gnutls: updated to 3.4.14
Certificate verification issue, although it does not affect this port. Please read:
http://www.gnutls.org/security.html#GNUTLS-SA-2016-2
2016-07-07 09:27:11 +02:00

28 lines
715 B
Plaintext

# Description: A library that provides a secure layer over a reliable transport layer
# URL: http://gnutls.org
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: nettle libidn
name=gnutls
version=3.4.14
release=1
source=(ftp://ftp.gnutls.org/gcrypt/$name/v${version%.*}/$name-${version}.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--without-p11-kit \
--with-included-libtasn1 \
--disable-guile
make
# fix man3 files installation
sed '/INSTALL_DATA.*files/ s/$(INSTALL_DATA)/cp/' -i doc/manpages/Makefile
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/{info,locale}
}