28 lines
715 B
Plaintext
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.15
|
|
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}
|
|
}
|