aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jpegoptim
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-10 09:50:10 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-10 09:50:18 +0000
commit717abe4c17768284072cac55b888da0292592bdf (patch)
treee9765f10d3d3bc83af347a9ed0cd6d3601acf6db /testing/jpegoptim
parent808de2061d2eed38b20f47cb99b2d37aaecd3832 (diff)
downloadaports-717abe4c17768284072cac55b888da0292592bdf.tar.bz2
aports-717abe4c17768284072cac55b888da0292592bdf.tar.xz
testing/jpegoptim: attempt to fix build on ppc64le, disable check()
Diffstat (limited to 'testing/jpegoptim')
-rw-r--r--testing/jpegoptim/APKBUILD13
1 files 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 <aji.kisworo.mukti@gmail.com>
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