aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.dk>2017-11-09 21:01:49 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-11 02:52:56 +0100
commit0334bfcde2a3795d0f6556a512563a8b942c55f0 (patch)
treed89c37768edf95b97dfe14df26ef6855370bbe2a /main
parent51961aa79b6c553fad1b05eae6bacee90e3c2e5e (diff)
downloadaports-0334bfcde2a3795d0f6556a512563a8b942c55f0.tar.bz2
aports-0334bfcde2a3795d0f6556a512563a8b942c55f0.tar.xz
main/imagemagick: add check
Diffstat (limited to 'main')
-rw-r--r--main/imagemagick/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 00db0233be..c3ba5a4009 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -14,6 +14,7 @@ options="libtool"
makedepends="zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev fontconfig-dev
perl-dev ghostscript-dev libwebp-dev libtool tiff-dev lcms2-dev
libwebp-dev libxml2-dev librsvg-dev"
+checkdepends="freetype fontconfig ghostscript ghostscript-fonts lcms2"
subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx $pkgname-libs"
source="http://www.imagemagick.org/download/releases/ImageMagick-$_pkgver.tar.xz"
builddir="$srcdir/ImageMagick-${_pkgver}"
@@ -47,6 +48,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install