compat-32/gnutls-32/Pkgfile
2019-04-07 18:39:30 +10:00

31 lines
777 B
Plaintext

# Description: A library that provides a secure layer over a reliable transport layer
# URL: http://gnutls.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: gnutls libidn-32 nettle-32 p11-kit-32
name=gnutls-32
version=3.6.7
release=1
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/v${version%.*}/${name%-*}-$version.tar.xz)
build() {
cd ${name%-*}-$version
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--with-default-trust-store-pkcs11="pkcs11:" \
--with-included-unistring \
--disable-guile \
--without-tpm
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
rm -r \
$PKG/usr/share/{doc,info,locale,man} \
$PKG/usr/{bin,include,share}
}