Package: libpolarssl1 Version: 1.1.4 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: 7b72caf22b01464ee7d6165f2fd85f44 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: libpolarssl2 Replaces: libpolarssl2 CompileScript: << cmake -DCMAKE_PREFIX_PATH:PATH=%p \ -DCMAKE_INSTALL_PREFIX:PATH=%p \ -DCMAKE_INSTALL_NAME_DIR:PATH=%p/lib \ -DUSE_SHARED_POLARSSL_LIBRARY:BOOL=ON . make << InfoTest: TestScript: make test || exit 2 InstallScript: << make install DESTDIR=%d mkdir -p %i/share/doc/%n/examples mv %i/bin/* %i/share/doc/%n/examples rmdir %i/bin << DocFiles: ChangeLog LICENSE README SplitOff: << Package: %{N}-shlibs Files: lib/libpolarssl.1*dylib Shlibs: %p/lib/libpolarssl.1.dylib 1.0.0 %n (>= 1.1.0-1) DocFiles: ChangeLog LICENSE README <<