summaryrefslogtreecommitdiff
path: root/user/lcms2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 02:22:33 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 02:22:33 -0500
commit55e07fe0d586b3dc6e459ed81c149f4afd85f43b (patch)
tree093bede49801808609098e94d31b630fdfd41155 /user/lcms2
parentd9d3051169620f9c1e3aa6925d1ccd4a0e64004f (diff)
downloadpackages-55e07fe0d586b3dc6e459ed81c149f4afd85f43b.tar.gz
packages-55e07fe0d586b3dc6e459ed81c149f4afd85f43b.tar.bz2
packages-55e07fe0d586b3dc6e459ed81c149f4afd85f43b.tar.xz
packages-55e07fe0d586b3dc6e459ed81c149f4afd85f43b.zip
user/lcms2: pull in, bump, fix
Diffstat (limited to 'user/lcms2')
-rw-r--r--user/lcms2/APKBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/user/lcms2/APKBUILD b/user/lcms2/APKBUILD
new file mode 100644
index 000000000..a70ba2a39
--- /dev/null
+++ b/user/lcms2/APKBUILD
@@ -0,0 +1,56 @@
+# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=lcms2
+pkgver=2.9
+pkgrel=0
+pkgdesc="Colour management engine using ICC standard"
+url="http://www.littlecms.com/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="libjpeg-turbo-dev tiff-dev zlib-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
+source="http://www.littlecms.com/lcms2-$pkgver.tar.gz
+ "
+
+# secfixes:
+# 2.8-r1:
+# - CVE-2016-10165
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-static \
+ --with-jpeg \
+ --with-tiff \
+ --with-zlib \
+ --with-threads
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+utils() {
+ pkgdesc="Utility applications for lcms2"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+sha512sums="70b1c51fa8d137d5072425e580745ff1fbf49c6e8bb1da0a8adb0647d3b7c095208793cb02de1e8d1a01363b8575fa60c61bedbff99bbec57a44228239cb00e5 lcms2-2.9.tar.gz"