-
Notifications
You must be signed in to change notification settings - Fork 298
/
lcms-2.7.recipe
89 lines (77 loc) · 2.21 KB
/
lcms-2.7.recipe
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
SUMMARY="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/"
SOURCE_URI="http://downloads.sourceforge.net/project/lcms/lcms/$portVersion/lcms2-$portVersion.tar.gz"
CHECKSUM_SHA256="4524234ae7de185e6b6da5d31d6875085b2198bc63b1211f7dde6e2d197d6a53"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2007 Marti Maria"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
lcms$secondaryArchSuffix = $portVersion compat >= 2
lib:liblcms2$secondaryArchSuffix = 2.0.7 compat >= 2
cmd:jpgicc$secondaryArchSuffix
cmd:linkicc$secondaryArchSuffix
cmd:psicc$secondaryArchSuffix
cmd:tificc$secondaryArchSuffix
cmd:transicc$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libtiff$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libjpeg$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc${secondaryArchSuffix}
cmd:ld${secondaryArchSuffix}
cmd:libtoolize
cmd:aclocal_1.13
cmd:autoconf
cmd:automake_1.13
cmd:make
"
SOURCE_DIR="lcms2-$portVersion"
BUILD()
{
libtoolize --force --copy --install
aclocal-1.13
automake-1.13
autoconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# prepare develop/lib
prepareInstalledDevelLibs liblcms2
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
# ----- devel package ---------------------------------------
PROVIDES_devel="
lcms${secondaryArchSuffix}_devel = $portVersion
devel:liblcms2$secondaryArchSuffix = 2.0.7 compat >= 2
"
REQUIRES_devel="
lcms$secondaryArchSuffix == $portVersion base
"