]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - lcms2/lcms2.nm
kernel: Drop ld.so placeholder files
[people/stevee/ipfire-3.x.git] / lcms2 / lcms2.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = lcms2
7 version = 2.8
8 release = 1
9
10 groups = System/Tools
11 url = http://www.littlecms.com/
12 license = MIT
13 summary = Color Management Engine.
14
15 description
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.
19 end
20
21 source_dl = http://www.littlecms.com/
22
23 build
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
51 end
52
53 packages
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
67 end