mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:44:37 +08:00
34 lines
875 B
Bash
34 lines
875 B
Bash
# Maintainer: abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=gnutls
|
|
pkgver=3.2.2
|
|
pkgrel=1
|
|
pkgdesc="A library which provides a secure layer over a reliable transport layer"
|
|
arch=('x86_64')
|
|
license=('GPL3' 'LGPL')
|
|
url="http://www.gnu.org/software/gnutls/"
|
|
install=gnutls.install
|
|
options=('libtool')
|
|
depends=('gcc-libs' 'libtasn1>=3.2' 'readline' 'zlib' 'libgcrypt' 'texinfo' 'nettle')
|
|
source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/${pkgname}-${pkgver}.tar.xz{,.sig})
|
|
md5sums=('9dd691ad1ccdb7386029809afef6b5ea'
|
|
'0e56bad4d560eeb785df5da2e94edbe6')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --with-zlib --disable-guile --disable-valgrind-tests --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make -j1 check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|