PKGBUILDs/extra/gnutls/PKGBUILD
2009-11-22 03:13:47 -08:00

26 lines
825 B
Bash

# $Id: PKGBUILD 41782 2009-06-07 10:19:49Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Notice:
# When building a new major version, build, install, build again.
#
pkgname=gnutls
pkgver=2.8.0
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
arch=('arm')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
options=('libtool')
depends=('libtasn1>=2.2' 'readline' 'zlib' 'libgcrypt>=1.4.4' 'texinfo')
source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.bz2)
md5sums=('001c1d778ac7b53118cd5e14c6f9210d')
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"
}