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