]>
Commit | Line | Data |
---|---|---|
cb6db3a1 SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = polarssl | |
6d4fc0eb MT |
7 | version = 1.3.9 |
8 | release = 1 | |
cb6db3a1 SS |
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 | |
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 |
48 | end | |
49 | ||
50 | packages | |
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 | |
69 | end |