diff options
Diffstat (limited to 'testing/vips/APKBUILD')
-rw-r--r-- | testing/vips/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/vips/APKBUILD b/testing/vips/APKBUILD new file mode 100644 index 0000000000..bafc1a70cb --- /dev/null +++ b/testing/vips/APKBUILD @@ -0,0 +1,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" |