summaryrefslogtreecommitdiff
path: root/repo/system/lcms2/lcms2.xibuild
blob: 3f9cdd3d7018970afd629b8ba9890048b116b85b (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
#!/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
}