compat-32/gnutls-32/Pkgfile

31 lines
780 B
Plaintext
Raw Normal View History

2013-07-24 16:50:53 +02:00
# Description: A library that provides a secure layer over a reliable transport layer
# URL: https://gnutls.org/
2013-07-24 16:50:53 +02:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: gnutls libidn2-32 nettle-32 p11-kit-32
2013-07-24 16:50:53 +02:00
name=gnutls-32
2024-03-22 20:53:18 +01:00
version=3.8.4
2013-07-24 16:50:53 +02:00
release=1
2019-12-09 13:00:34 +01:00
source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/v${version:0:3}/${name%-*}-$version.tar.xz)
2013-07-24 16:50:53 +02:00
build() {
cd ${name%-*}-$version
2013-07-24 16:50:53 +02:00
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--with-default-trust-store-pkcs11="pkcs11:" \
--with-included-unistring \
--disable-guile \
--without-tpm
2013-07-24 16:50:53 +02:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2013-07-24 16:50:53 +02:00
make
make DESTDIR=$PKG install
2016-03-08 10:39:50 +01:00
rm -r \
$PKG/usr/share/{doc,info,locale,man} \
2016-03-08 10:39:50 +01:00
$PKG/usr/{bin,include,share}
2013-07-24 16:50:53 +02:00
}