]> git.ipfire.org Git - ipfire-3.x.git/blob - libjpeg/libjpeg.nm
b4d7b0eb02194fe8c585c670d9c51a5c77e45853
[ipfire-3.x.git] / libjpeg / libjpeg.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = libjpeg
7 version = 2.1.4
8 release = 1
9 thisapp = libjpeg-turbo-%{version}
10
11 groups = System/Libraries
12 url = http://sourceforge.net/projects/libjpeg-turbo
13 license = wxWidgets
14 summary = A MMX/SSE2 accelerated library for manipulating JPEG image files.
15
16 description
17 The libjpeg-turbo-utils package contains simple client programs for
18 accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,
19 rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format.
20 Djpeg decompresses a JPEG file into a regular image file. Jpegtran
21 can perform various useful transformations on JPEG files. Rdjpgcom
22 displays any text comments included in a JPEG file. Wrjpgcom inserts
23 text comments into a JPEG file.
24 end
25
26 source_dl = http://sourceforge.net/projects/libjpeg-turbo/files/%{version}/
27
28 build
29 requires
30 cmake
31 gcc-c++
32 nasm
33 end
34
35 # NASM object files are missing GNU Property note for Intel CET,
36 # force it on the resulting library
37 LDFLAGS +="-Wl,-z,ibt -Wl,-z,shstk"
38
39 export LD_LIBRARY_PATH = %{DIR_APP}
40
41 build
42 %{cmake} . \
43 -DCMAKE_SKIP_RPATH:BOOL=YES \
44 -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
45 -DENABLE_STATIC:BOOL=NO
46
47 make %{PARALLELISMFLAGS}
48 end
49
50 test
51 make test
52 end
53 end
54
55 packages
56 package %{name}
57
58 package %{name}-devel
59 template DEVEL
60
61 files += !%{libdir}/libturbojpeg.so
62 end
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
67 end