opt/lcms2/Pkgfile

26 lines
642 B
Plaintext

# Description: Little CMS intends to be an small-footprint color management engine
# URL: http://www.littlecms.com/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libtiff
name=lcms2
version=2.16
release=1
source=(http://downloads.sourceforge.net/project/lcms/lcms/${version:0:4}/$name-$version.tar.gz)
build() {
echo 'install_man(psicc_man)' >> \
$name-$version/utils/psicc/meson.build
meson setup build $name-$version \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D utils=true
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}