diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-03-20 12:26:52 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-03-20 12:26:52 +0000 |
commit | 7d8df3859347c83a347c3c771a3bd438e17a3d44 (patch) | |
tree | 7750a9299feb7e8dafdba79f5755160933fc554f /testing/courier-authlib/APKBUILD | |
parent | b06fd02ab6d73b7167cdafbb3d2623afacdb1303 (diff) | |
parent | 01a790374524c25b6730fd48ae70bb6c31a65361 (diff) | |
download | aports-7d8df3859347c83a347c3c771a3bd438e17a3d44.tar.bz2 aports-7d8df3859347c83a347c3c771a3bd438e17a3d44.tar.xz |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing/courier-authlib/APKBUILD')
-rw-r--r-- | testing/courier-authlib/APKBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/courier-authlib/APKBUILD b/testing/courier-authlib/APKBUILD new file mode 100644 index 0000000000..dd0cc64f5c --- /dev/null +++ b/testing/courier-authlib/APKBUILD @@ -0,0 +1,56 @@ +# Contributor: Jeff Bilyk <jbilyk@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=courier-authlib +pkgver=0.63.0 +pkgrel=0 +pkgdesc="Authentication library for courier mailserver" +url="http://www.courier-mta.org" +arch="all" +license="GPL" +depends="" +depends_dev="libtool expect gdbm-dev openssl-dev libldap postgresql-dev mysql-dev perl" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/project/courier/authlib/$pkgver/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +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 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/lib/$pkgname/*.la +} + +md5sums="411a927d178f783a1e8fab9964ce0dd2 courier-authlib-0.63.0.tar.bz2" |