summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8fb7041e210c50510bc918b8211adf312827f89f (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
31
32
33
34
35
36
37
38
39
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Nicolás Reynolds <fauno@kiwwwi.com.ar>
# Contributor (Arch): Nathan Owe <ndowens04 at gmail>
pkgname=anubis
pkgver=4.3
pkgrel=1
pkgdesc="An SMTP message submission daemon. "
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/anubis/"
license=('GPL3')
depends=('guile' 'gpgme' 'gnutls' 'gsasl' 'pam' 'pcre')
makedepends=('libmariadbclient') # 'postgresql-libs')
source=(ftp://ftp.gnu.org/gnu/anubis/$pkgname-$pkgver.tar.gz)
md5sums=('bc80b9045b3c8f3b1d6798200cd81586')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr \
              --sbindir=/usr/bin \
              --with-guile \
              --with-pam \
              --with-mysql \
              --with-pcre \
              --without-tcp-wrappers \
              --with-socks-proxy
#--with-postgres disable for now, some include error

  # For some reason the GUILE_INCLUDES variable is set but not used
  # during build.
  make CFLAGS="$CFLAGS $(guile-config compile)"
}

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

# vim:set ts=2 sw=2 et: