]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - polarssl/polarssl.nm
polarssl: Update to 1.3.9
[people/ms/ipfire-3.x.git] / polarssl / polarssl.nm
CommitLineData
cb6db3a1
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = polarssl
6d4fc0eb
MT
7version = 1.3.9
8release = 1
cb6db3a1
SS
9
10groups = System/Libraries
11url = http://polarssl.org/
12license = GPLv2+
13summary = Light-weight cryptographic and SSL/TLS library.
14
15description
16 PolarSSL is a light-weight open source cryptographic and SSL/TLS
17 library written in C. PolarSSL makes it easy for developers to include
18 cryptographic and SSL/TLS capabilities in their (embedded)
19 applications with as little hassle as possible.
20
21end
22
23sources = %{thisapp}-gpl.tgz
24source_dl = http://polarssl.org/code/releases/
25
26build
27 requires
6d4fc0eb 28 cmake
0f5c5df0
MT
29 end
30
31 build
6d4fc0eb
MT
32 %{cmake} \
33 -D CMAKE_BUILD_TYPE:String="Release" \
34 -D USE_SHARED_POLARSSL_LIBRARY:BOOL=1 \
35 .
0f5c5df0 36
6d4fc0eb 37 make %{PARALLELISMFLAGS}
cb6db3a1
SS
38 end
39
40 test
6d4fc0eb 41 LD_LIBRARY_PATH=$(pwd)/library ctest --output-on-failure -V
cb6db3a1
SS
42 end
43
6d4fc0eb
MT
44 install_cmds
45 mkdir -pv %{BUILDROOT}%{libexecdir}
46 mv -v %{BUILDROOT}%{bindir} %{BUILDROOT}%{libexecdir}/%{name}
cb6db3a1
SS
47 end
48end
49
50packages
51 package %{name}
52
0f5c5df0
MT
53 package %{name}-utils
54 summary = PolarSSL utilities.
55 description = %{summary}
56
57 files
6d4fc0eb 58 %{libexecdir}/%{name}
0f5c5df0
MT
59 end
60 end
61
cb6db3a1
SS
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-debuginfo
67 template DEBUGINFO
68 end
69end