diff options
Diffstat (limited to 'abs/core/libsasl/PKGBUILD')
-rw-r--r-- | abs/core/libsasl/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/libsasl/PKGBUILD b/abs/core/libsasl/PKGBUILD new file mode 100644 index 0000000..d9b49b8 --- /dev/null +++ b/abs/core/libsasl/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 5269 2008-07-14 11:33:26Z pierre $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=libsasl +pkgver=2.1.22 +pkgrel=7 +pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library" +arch=(i686 x86_64) +url="http://asg.web.cmu.edu/cyrus/download/" +license=('custom') +depends=('db>=4.7') +install=libsasl.install +source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-${pkgver}.tar.gz + cyrus-sasl-2.1.19-checkpw.c.patch db-4.7.patch) +md5sums=('45dde9d19193ae9dd388eb68b2027bc9' + 'e27ddff076342e7a3041c4759817d04b' + '71a3b7454f4d7cc2966b347bdf03f2fc') +options=('!makeflags') + +build() { + cd ${srcdir}/cyrus-sasl-${pkgver} + patch -Np0 -i ${srcdir}/cyrus-sasl-2.1.19-checkpw.c.patch || return 1 + patch -Np0 -i ${srcdir}/db-4.7.patch || return 1 + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-anon \ + --disable-cram \ + --disable-digest \ + --disable-gssapi \ + --enable-login \ + --disable-otp \ + --enable-plain + for dir in include lib sasldb plugins utils; do + pushd ${dir} || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + popd + done + + # install license + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1 +} |