description="provides the management of colors for other programs"
url="http://www.littlecms.com/"

packager="tnut <tnut@nutyx.org>"
contributors="Pierre B, Rems"

makedepends=(libtiff libjpeg-turbo2)

name=lcms
version=1.19
release=6

source=( http://downloads.sourceforge.net/$name/$name-$version.tar.gz
	 http://www.linuxfromscratch.org/patches/blfs/svn/lcms-1.19-cve_2013_4276-1.patch)

build() {
cd $name-$version
patch -Np1 -i ../lcms-1.19-cve_2013_4276-1.patch
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=$PKG install

# Obsolet lib
rm $PKG/usr/lib/liblcms.la
}
