blob: bafc1a70cb9386ae7273ade32f8879a7aa2fc82a (
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.1
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="1213f9a4286dad44790cf90838c229a5 vips-8.3.1.tar.gz"
sha256sums="09cb7f8d5640c7693bae07080202de0cead60c668e086f2739248bacd40a1006 vips-8.3.1.tar.gz"
sha512sums="0ba378015b85688f173be59d76655fc33a6704e8bad4bc91261c3e5d4851a288e1c083718b2a03076fd2d9069c9ee6110780ae64b4d22e49ba68fa3cacece212 vips-8.3.1.tar.gz"
|