2006-02-23 15:26:10 +00:00
|
|
|
# Description: A library that provides a secure layer over a reliable transport layer
|
2013-02-28 16:10:53 +01:00
|
|
|
# URL: http://gnutls.org
|
2010-09-24 14:04:27 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
2008-06-24 21:22:34 +10:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
2011-08-30 14:14:00 +02:00
|
|
|
# Depends on: nettle libidn
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=gnutls
|
2016-09-09 13:07:34 +02:00
|
|
|
version=3.4.15
|
2016-02-04 16:08:36 +00:00
|
|
|
release=1
|
2014-06-03 23:42:30 +02:00
|
|
|
source=(ftp://ftp.gnutls.org/gcrypt/$name/v${version%.*}/$name-${version}.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2011-02-28 14:38:53 +01:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
2011-08-16 12:02:14 +02:00
|
|
|
--without-p11-kit \
|
2015-04-29 10:39:48 +02:00
|
|
|
--with-included-libtasn1 \
|
2011-02-28 14:38:53 +01:00
|
|
|
--disable-guile
|
|
|
|
|
|
|
|
make
|
2015-04-29 10:39:48 +02:00
|
|
|
|
|
|
|
# fix man3 files installation
|
|
|
|
sed '/INSTALL_DATA.*files/ s/$(INSTALL_DATA)/cp/' -i doc/manpages/Makefile
|
2011-02-28 14:38:53 +01:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/share/{info,locale}
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|