summaryrefslogtreecommitdiffstats
path: root/abs/core/gnutls/PKGBUILD
blob: 6948722f5a392951ce9cf7cc1178b5560c3161e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 35543 2009-04-13 20:57:08Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

# Notice:
# When building a new major version, build, install, build again.
#
pkgname=gnutls
pkgver=2.6.5
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=(i686 x86_64)
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
options=('libtool')
depends=('gcc-libs>=4.3.3' 'libtasn1>=2.0' 'readline' 'zlib' 'libgcrypt>=1.4.4')
source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.bz2)
md5sums=('92b92c36b616aa8bd69a9a0fb2b8eb24')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --with-zlib --disable-guile || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  rm -f "${pkgdir}/usr/share/info/dir"
}