smlinux/xorg/lcms2/lcms2.SMBuild

34 lines
730 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=lcms2
version=2.9
build=1sml
homepage="http://www.littlecms.com/"
download="https://github.com/mm2/Little-CMS/archive/refs/tags/lcms$version.tar.gz"
desc="Small-footprint color management engine, version 2"
requires="libtiff"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
8f2c11ed746408318dd904624688f92ec14f5c9910df6623671adaf61257c89a8be36479a8b7757451921208868c6ac3eb23f2988599810f05e97aa4f4c4a26c lcms2-2.9.tar.lz
"