summaryrefslogtreecommitdiff
path: root/repo/system/lcms2.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/lcms2.xibuild')
-rw-r--r--repo/system/lcms2.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/system/lcms2.xibuild b/repo/system/lcms2.xibuild
new file mode 100644
index 0000000..3f9cdd3
--- /dev/null
+++ b/repo/system/lcms2.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="lcms2"
+DESC="Color Management Engine"
+
+MAKEDEPS="make libjpeg-turbo tiff zlib"
+DEPS="musl "
+
+PKG_VER=2.13.1
+SOURCE="https://github.com/mm2/Little-CMS/releases/download/lcms$PKG_VER/lcms2-$PKG_VER.tar.gz"
+
+build () {
+ ./configure \
+ --prefix=/usr
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static \
+ --with-jpeg \
+ --with-tiff \
+ --with-zlib \
+ --with-threads
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}