compat-32/gnutls-32/Pkgfile
2016-05-10 19:47:54 +10:00

33 lines
758 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: nettle-32 libidn-32 gnutls
name=gnutls-32
version=3.4.11
release=1
source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v${version%.*}/gnutls-$version.tar.xz)
build() {
cd gnutls-$version
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--host=i686-pc-linux-gnu \
--without-p11-kit \
--with-included-libtasn1 \
--disable-guile
# fix man3 files installation
sed -e '/INSTALL_DATA.*files/ s/$(INSTALL_DATA)/cp/' \
-i doc/manpages/Makefile
make
make DESTDIR=$PKG install
rm -r \
$PKG/usr/share/{info,locale,man} \
$PKG/usr/{bin,include,share}
}