# Contributor: Ɓukasz Jendrysik # Contributor: Jeff Bilyk # Maintainer: Natanael Copa setvar pkgname = 'courier-authlib' setvar pkgver = '0.66.1' setvar pkgrel = '2' setvar pkgdesc = ""Authentication library for courier mailserver"" setvar url = ""http://www.courier-mta.org"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = """" setvar depends_dev = ""libtool expect gdbm-dev openssl-dev libldap postgresql-dev mariadb-dev perl"" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://downloads.sourceforge.net/project/courier/authlib/$pkgver/$pkgname-$pkgver.tar.bz2"" setvar _builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib \ --libexecdir=/usr/lib \ --with-db=gdbm \ --with-mailuser=courier \ --with-mailgroup=courier \ --with-authpwd \ --with-authshadow \ --with-authldap \ --with-authmysql \ --with-authpgsql \ --with-authuserdb \ --with-authcram \ --with-authdaemon \ --with-authdaemonvar=/var/run/authdaemon make } proc package { cd $_builddir make DESTDIR="$pkgdir" install } setvar md5sums = ""123e9429909ed65a23464cb7ecb15cf1 courier-authlib-0.66.1.tar.bz2"" setvar sha256sums = ""8f89166f57c8e59f445fe0135da92b95f1c4417896d01eda5e2e94d8ff878fe8 courier-authlib-0.66.1.tar.bz2"" setvar sha512sums = ""d2b0c9c92c0af8c596fd9b14337034e2859c4540b5b20523e8dfbec78f54021104b6864c7f3488f518ebfff488b38bdbc26690763175940d12019f5cbc482b33 courier-authlib-0.66.1.tar.bz2""