Files
haikuports/media-libs/lcms/lcms-2.5.recipe
2013-11-26 22:56:24 -06:00

81 lines
1.7 KiB
Plaintext

SUMMARY="lcms - Little cms intends to be a small-footprint, speed optimized color management engine"
DESCRIPTION="Little CMS intends to be an OPEN SOURCE small-footprint color management engine, with special focus on accuracy and performance. It uses the International Color Consortium standard (ICC), which is the modern standard when regarding to color management. The ICC specification is widely used and is referred to in many International and other de-facto standards. It was approved as an International Standard, ISO 15076-1, in 2005."
HOMEPAGE="http://littlecms.com/"
SRC_URI="http://downloads.sourceforge.net/project/lcms/lcms/2.5/lcms2-2.5.tar.gz"
CHECKSUM_MD5="396d106600251441ff195fcaa277d10b"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2007 Marti Maria"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
lcms = 2.5 compat >= 2
lib:liblcms2
cmd:jpgicc
cmd:linkicc
cmd:psicc
cmd:tificc
cmd:transicc
"
REQUIRES="
haiku
lib:libjpeg
lib:libpng
lib:libtiff
lib:libz"
BUILD_REQUIRES="
devel:libjpeg
devel:libpng
devel:libtiff
devel:libz"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:libtoolize
cmd:aclocal
cmd:autoconf
cmd:make
"
SOURCE_DIR="lcms2-2.5"
BUILD()
{
libtoolize --force --copy --install
aclocal
automake
autoconf
runConfigure ./configure CFLAGS=-O0
make $jobArgs
}
INSTALL()
{
make install
# prepare develop/lib
prepareInstalledDevelLibs liblcms2
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package ---------------------------------------
PROVIDES_devel="
lcms_devel = $portVersion
devel:lcms = 2.5 compat >= 2
devel:liblcms2 = 2.0.1 compat >= 2
"
REQUIRES_devel="
lcms == $portVersion base
"