summaryrefslogtreecommitdiff
path: root/pcr/anubis/PKGBUILD
blob: 30e379ac461d47f8da5c629df78681116079ef23 (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
# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
# Contributor: Nathan Owe <ndowens04 at gmail>
pkgname=anubis
pkgver=4.2
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{,.sig})
md5sums=('3ca1dd378ba72900a432004cb9db935f' SKIP)

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

  ./configure --prefix=/usr \
              --with-guile \
              --with-pam \
              --with-mysql \
              --with-postgres \
              --with-pcre \
              --without-tcp-wrappers \
              --with-socks-proxy

  # 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: