aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vips/APKBUILD
diff options
context:
space:
mode:
authorWill Jordan <will@code.org>2016-02-11 21:28:07 -0800
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-20 09:59:02 +0000
commit6979777c1f9a961da745d94926a4d59acc721a90 (patch)
tree6503b789e4d277be7c6849b491d26463893d4366 /testing/vips/APKBUILD
parent9ebdcade2248f5daa55d4c5576844f0f782482c1 (diff)
downloadaports-6979777c1f9a961da745d94926a4d59acc721a90.tar.bz2
aports-6979777c1f9a961da745d94926a4d59acc721a90.tar.xz
testing/vips: new aport
A fast image processing library with low memory needs http://www.vips.ecs.soton.ac.uk/
Diffstat (limited to 'testing/vips/APKBUILD')
-rw-r--r--testing/vips/APKBUILD49
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"