Package: libpolarssl2 Version: 1.2.3 Revision: 1 Description: Lightweight SSL/TLS library DescDetail: << PolarSSL is an SSL library written in ANSI C. PolarSSL makes it easy for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products with as little hassle as possible. It is designed to be readable, documented, tested, loosely coupled and portable. It also includes an OpenSSL compatible wrapper header. Example programs are installed into %p/share/doc/%n/examples rather than %p/bin to avoid possible conflicts. << Homepage: http://polarssl.org/ Maintainer: Daniel Johnson License: GPL2+ Source: http://polarssl.org/code/releases/polarssl-%v-gpl.tgz Source-MD5: 5f4cc804943cc4add3e1b3dffc43484a SourceDirectory: polarssl-%v # Tests are only built when cmake thinks we're using gcc. # That means the tests aren't built with clang without this. PatchScript: perl -pi -e 's/endif\(CMAKE_COMPILER_IS_GNUCC\)//; s/if\(CMAKE_COMPILER_IS_GNUCC\)//' CMakeLists.txt BuildDependsOnly: true BuildDepends: cmake Depends: %{N}-shlibs Conflicts: libpolarssl1 Replaces: libpolarssl1 CompileScript: << cmake -DCMAKE_PREFIX_PATH:PATH=%p \ -DCMAKE_INSTALL_PREFIX:PATH=%p \ -DCMAKE_INSTALL_NAME_DIR:PATH=%p/lib \ -DENABLE_ZLIB_SUPPORT:BOOL=ON \ -DUSE_SHARED_POLARSSL_LIBRARY:BOOL=ON . make << InfoTest: << TestDepends: openssl100-dev, openssl TestScript: make test || exit 2 << InstallScript: << make install DESTDIR=%d mkdir -p %i/share/doc/%n/examples rm -f %i/bin/o_p_test mv %i/bin/* %i/share/doc/%n/examples rmdir %i/bin << DocFiles: ChangeLog LICENSE README SplitOff: << Package: %{N}-shlibs Files: lib/libpolarssl.%v.dylib lib/libpolarssl.2.dylib Shlibs: %p/lib/libpolarssl.2.dylib 2.0.0 %n (>= 1.2.3-1) DocFiles: ChangeLog LICENSE README <<