diff --git a/common/shlibs b/common/shlibs index e568bb9fec..2da1117bdb 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1429,3 +1429,4 @@ libmutter-wayland.so.0 mutter-wayland-3.10.1_1 libgdiplus.so.0 libgdiplus-2.10.9_1 libmonosgen-2.0.so.1 mono-3.2.3_1 libshout-idjc.so.3 libshout-idjc-2.3.1_1 +libpolarssl.so.5 libpolarssl-1.3.1_1 diff --git a/srcpkgs/libpolarssl b/srcpkgs/libpolarssl new file mode 120000 index 0000000000..d658f6d659 --- /dev/null +++ b/srcpkgs/libpolarssl @@ -0,0 +1 @@ +polarssl \ No newline at end of file diff --git a/srcpkgs/polarssl-devel b/srcpkgs/polarssl-devel new file mode 120000 index 0000000000..d658f6d659 --- /dev/null +++ b/srcpkgs/polarssl-devel @@ -0,0 +1 @@ +polarssl \ No newline at end of file diff --git a/srcpkgs/polarssl/template b/srcpkgs/polarssl/template new file mode 100644 index 0000000000..c973f0e138 --- /dev/null +++ b/srcpkgs/polarssl/template @@ -0,0 +1,36 @@ +# Template file for 'polarssl' +pkgname=polarssl +version=1.3.1 +revision=1 +build_style=cmake +configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on" +hostmakedepends="cmake" +makedepends="zlib-devel openssl-devel" +short_desc="Portable cryptographic and SSL/TLS library" +maintainer="Juan RP " +license="GPL-2" +homepage="http://www.polarssl.org" +distfiles="http://www.polarssl.org/code/releases/polarssl-${version}-gpl.tgz" +checksum=b60d59c24d3744e5c16121054bfdac5615bffb19974ee7e0c1964eeb481612b3 + +libpolarssl_package() { + short_desc+=" - runtime library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +polarssl-devel_package() { + short_desc+=" - development files" + depends="libpolarssl>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + } +} + +polarssl_package() { + pkg_install() { + vmove all + } +}