]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame_incremental - lcms2/lcms2.nm
gcc: Update to 6.4.0
[people/ms/ipfire-3.x.git] / lcms2 / lcms2.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = lcms2
7version = 2.8
8release = 1
9
10groups = System/Tools
11url = http://www.littlecms.com/
12license = MIT
13summary = Color Management Engine.
14
15description
16 LittleCMS intends to be a small-footprint, speed optimized color management
17 engine in open source form. LCMS2 is the current version of LCMS, and can be
18 parallel installed with the original (deprecated) lcms.
19end
20
21source_dl = http://www.littlecms.com/
22
23build
24 requires
25 automake
26 libjpeg-devel
27 libtiff-devel
28 zlib-devel
29 end
30
31 prepare_cmds
32 # for aarch64
33 for i in $(find . -name config.guess -or -name config.sub); do
34 cp -vf %{datadir}/automake-*/config.{guess,sub} $(dirname ${i})
35 done
36 end
37
38 configure_options +=\
39 --disable-static \
40 --program-suffix=2
41
42 test
43 make check
44 end
45
46 install_cms
47 # Install missing header files.
48 install -D -m 644 include/lcms2.h %{BUILDROOT}/usr/include/lcms2.h
49 install -D -m 644 include/lcms2_plugin.h %{BUILDROOT}/usr/include/lcms2_plugin.h
50 end
51end
52
53packages
54 package %{name}
55
56 package %{name}-libs
57 template LIBS
58 end
59
60 package %{name}-devel
61 template DEVEL
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67end