opt/gnutls/Pkgfile

27 lines
638 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: A library that provides a secure layer over a reliable transport layer
# URL: https://gnutls.org
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libidn2 nettle p11-kit
2006-02-23 16:26:10 +01:00
name=gnutls
2021-05-30 15:07:37 +02:00
version=3.6.16
release=1
2019-12-09 12:52:51 +01:00
source=(https://www.gnupg.org/ftp/gcrypt/$name/v${version:0:3}/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2011-02-28 14:38:53 +01:00
./configure \
--prefix=/usr \
--with-default-trust-store-pkcs11="pkcs11:" \
--with-included-unistring \
--disable-guile \
--without-tpm
2011-02-28 14:38:53 +01:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
2011-02-28 14:38:53 +01:00
rm -r $PKG/usr/share/{doc,info,locale}
2006-02-23 16:26:10 +01:00
}