]>
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 | |
3ecb669f | 7 | version = 1.2.5 |
cb6db3a1 SS |
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 >= 2.8.4-2 | |
29 | perl | |
30 | end | |
31 | ||
32 | prepare_cmds | |
33 | %{cmake} \ | |
34 | -D CMAKE_BUILD_TYPE:String="Release" \ | |
35 | -D USE_SHARED_POLARSSL_LIBRARY:BOOL=1 . | |
36 | end | |
37 | ||
38 | test | |
39 | ctest --output-on-failure | |
40 | end | |
41 | ||
42 | install_cmds | |
43 | # Remove binaries which already will be provided from coreutils. | |
44 | rm -rvf %{BUILDROOT}/usr/bin | |
45 | end | |
46 | end | |
47 | ||
48 | packages | |
49 | package %{name} | |
50 | ||
51 | package %{name}-devel | |
52 | template DEVEL | |
53 | end | |
54 | ||
55 | package %{name}-debuginfo | |
56 | template DEBUGINFO | |
57 | end | |
58 | end |