blob: 50b2503ab9606346eb41bfa711afa8f9af6d104d (
plain)
1 # Description: A library that provides a secure layer over a reliable transport layer
2 # URL: http://gnutls.org/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: nettle-32 libidn-32 libtasn1-32 p11-kit-32 gnutls
5
6 name=gnutls-32
7 version=3.5.18
8 release=1
9 source=(https://www.gnupg.org/ftp/gcrypt/${name%-*}/v${version%.*}/${name%-*}-$version.tar.xz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32 \
17 --host=i686-pc-linux-gnu \
18 --with-default-trust-store-pkcs11="pkcs11:" \
19 --with-included-unistring \
20 --disable-guile \
21 --without-tpm
22
23 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
24 make
25 make DESTDIR=$PKG install
26
27 rm -r \
28 $PKG/usr/share/{doc,info,locale,man} \
29 $PKG/usr/{bin,include,share}
30 }
|