From 717abe4c17768284072cac55b888da0292592bdf Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Wed, 10 May 2017 09:50:10 +0000 Subject: testing/jpegoptim: attempt to fix build on ppc64le, disable check() --- testing/jpegoptim/APKBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/testing/jpegoptim/APKBUILD b/testing/jpegoptim/APKBUILD index ec3356ec66..fb5e0c667c 100644 --- a/testing/jpegoptim/APKBUILD +++ b/testing/jpegoptim/APKBUILD @@ -2,21 +2,30 @@ # Maintainer: Aji Kisworo Mukti pkgname=jpegoptim pkgver=1.4.3 -pkgrel=0 +pkgrel=1 pkgdesc="Utility to optimize jpeg files" url="https://github.com/tjko/jpegoptim" arch="all" license="GPL2" depends="" makedepends="libjpeg-turbo-dev" -install="" +options="!check" subpackages="$pkgname-doc" source="https://github.com/tjko/jpegoptim/archive/RELEASE.$pkgver.tar.gz" builddir="$srcdir"/$pkgname-RELEASE.$pkgver +prepare() { + cd "$builddir" + default_prepare + update_config_sub +} + build() { cd "$builddir" ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --target=$CTARGET \ --prefix=/usr/ \ --mandir=/usr/share/man/ \ || return 1 -- cgit v1.2.3