aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-12-26 09:03:03 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-26 09:03:23 +0000
commit59b5520f4c933b6025778c098b62cf2f27d60076 (patch)
treeb68b332a731258e4fed9eb4a40680d541e1d24e5
parente8b10c345b4f70b0647be6e85ab8adb7f541c092 (diff)
downloadaports-59b5520f4c933b6025778c098b62cf2f27d60076.tar.gz
aports-59b5520f4c933b6025778c098b62cf2f27d60076.tar.bz2
aports-59b5520f4c933b6025778c098b62cf2f27d60076.tar.xz
community/clamsmtp: does not build for s390x
Add check()
-rw-r--r--community/clamsmtp/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/clamsmtp/APKBUILD b/community/clamsmtp/APKBUILD
index 6fb9e25956..8491eef877 100644
--- a/community/clamsmtp/APKBUILD
+++ b/community/clamsmtp/APKBUILD
@@ -2,10 +2,10 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamsmtp
pkgver=1.10
-pkgrel=16
+pkgrel=17
pkgdesc="An SMTP Virus Filter"
url="http://thewalter.net/stef/software/clamsmtp/"
-arch="all"
+arch="all !s390x"
license="BSD-3-Clause"
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-openrc"
@@ -17,9 +17,15 @@ builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
+ default_prepare
update_config_sub
}
+check() {
+ cd "$builddir"
+ make check
+}
+
build() {
cd "$builddir"
./configure \