smlinux/base/gnutls/gnutls.SMBuild

33 lines
No EOL
758 B
Text
Executable file

app=gnutls
version=3.6.16
build=1sml
homepage="https://www.gnutls.org/"
download="https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-$version.tar.xz"
desc="GNU TLS 1.0 and SSL 3.0 implementation"
requires="gcc-libs zlib gmp libidn libtasn1 nettle openssl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--disable-openssl-compatibility \
--disable-static \
--without-p11-kit
make
make install DESTDIR=$pkg
cp LICENSE* $pkgdocs/
mkfinalpkg
}
sha512sums="
191b95e0b7921a145fd70dc640d678d6de066a64da134e651fa7ac5369faf9e4b36617c7fd57ae98face76317b9c98c19e5a83f31bccd1676c464fb6735e95c2 gnutls-3.6.16.tar.lz
"