summaryrefslogtreecommitdiff
path: root/extra/gsasl/PKGBUILD
blob: e1d49927692539562218f2da51bea594d1cfe24e (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
27
28
29
30
# $Id: PKGBUILD 203576 2014-01-13 17:12:07Z andyrtr $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=gsasl
pkgver=1.8.0
pkgrel=4
pkgdesc="Simple Authentication and Security Layer framework and a few common SASL mechanisms"
arch=('i686' 'x86_64')
url="http://josefsson.org/gsasl/"
license=('GPL')
depends=('gnutls' 'libidn' 'krb5' 'libgcrypt')
install=gsasl.install
source=(ftp://ftp.gnu.org/gnu/gsasl/${pkgname}-${pkgver}.tar.gz)
sha1sums=('343fd97ae924dc406986c02fb9b889f4114239ae')

prepare() {
  cd ${pkgname}-${pkgver}
  sed -i 's|error too old libgcrypt|/*error too old libgcrypt*/|' lib/configure
}

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --with-gssapi-impl=mit
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}