aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vips/APKBUILD
blob: 934b7c4c3c6522810aa6455fd45b3c8ddbc9a33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Contributor: Will Jordan <will.jordan@gmail.com>
# Maintainer: Will Jordan <will.jordan@gmail.com>
pkgname=vips
pkgver=8.3.3
pkgrel=0
pkgdesc="A fast image processing library with low memory needs"
url="http://www.vips.ecs.soton.ac.uk/"
arch="all"
license="LGPL 2.1+"
depends=""
depends_dev="libjpeg-turbo-dev libexif-dev lcms2-dev"
makedepends="$depends_dev fftw-dev giflib-dev glib-dev libpng-dev libwebp-dev
	libxml2-dev orc-dev tiff-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-tools"
source="http://www.vips.ecs.soton.ac.uk/supported/current/vips-$pkgver.tar.gz"

builddir="$srcdir"/vips-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-debug=no \
		--without-python \
		--without-gsf \
		--disable-static \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--docdir=/usr/share/doc \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

tools() {
	pkgdesc="Command-line tools for $pkgname"
	mkdir -p "$subpkgdir"/usr/
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}

md5sums="50551b647160f14b2062f863757b812b  vips-8.3.3.tar.gz"
sha256sums="797f5c7dc179db2cc597da4b929b2c7aebb7390d5da24bc472f41f801d9396c5  vips-8.3.3.tar.gz"
sha512sums="9d870b12a3d6eb668eba111368e702e51bb314b170ead6ed146d941005c09176cf608e34e707472fd049df6f222d8d9140e99afc73c28dc21df94351996587e6  vips-8.3.3.tar.gz"