core/gnutls/PKGBUILD

36 lines
797 B
Bash
Raw Normal View History

# Maintainer: almack[at]chakraos[dot]org>
2010-04-05 19:44:27 +08:00
pkgname=gnutls
pkgver=3.3.11
2014-12-04 03:33:15 +08:00
pkgrel=1
2010-04-05 19:44:27 +08:00
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=('x86_64')
license=('GPL3' 'LGPL2.1')
2010-04-05 19:44:27 +08:00
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
depends=('gcc-libs' 'libidn' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit')
2014-12-04 03:33:31 +08:00
source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/${pkgname}-${pkgver}.tar.xz{,.sig})
md5sums=('b657e3010c10cae2244e7ce79ee3d446'
'SKIP')
2010-04-05 19:44:27 +08:00
build() {
cd ${pkgname}-${pkgver}
2014-12-04 03:33:31 +08:00
./configure --prefix=/usr \
--with-zlib \
--disable-guile \
--disable-static
make
}
2013-03-24 00:45:31 +08:00
check() {
cd ${pkgname}-${pkgver}
2014-12-04 03:33:31 +08:00
make check
2013-03-24 00:45:31 +08:00
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
2010-04-05 19:44:27 +08:00
}