mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:24:37 +08:00
34 lines
802 B
Bash
34 lines
802 B
Bash
# Maintainer: abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=gnutls
|
|
pkgver=3.1.10
|
|
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.1/${pkgname}-${pkgver}.tar.xz")
|
|
md5sums=('9e73aa5c3ef3b7358159a31302e25aa7')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --with-zlib --disable-guile --disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|