Commit 59b5520f authored by Leonardo Arena's avatar Leonardo Arena

community/clamsmtp: does not build for s390x

Add check()
parent e8b10c34
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamsmtp pkgname=clamsmtp
pkgver=1.10 pkgver=1.10
pkgrel=16 pkgrel=17
pkgdesc="An SMTP Virus Filter" pkgdesc="An SMTP Virus Filter"
url="http://thewalter.net/stef/software/clamsmtp/" url="http://thewalter.net/stef/software/clamsmtp/"
arch="all" arch="all !s390x"
license="BSD-3-Clause" license="BSD-3-Clause"
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade" install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-openrc" subpackages="$pkgname-doc $pkgname-openrc"
...@@ -17,9 +17,15 @@ builddir="$srcdir/$pkgname-$pkgver" ...@@ -17,9 +17,15 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() { prepare() {
cd "$builddir" cd "$builddir"
default_prepare
update_config_sub update_config_sub
} }
check() {
cd "$builddir"
make check
}
build() { build() {
cd "$builddir" cd "$builddir"
./configure \ ./configure \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment