From 30d25f49939f63f66e10e3ca40d3f5ac30086d47 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 30 Oct 2013 17:10:07 +0100 Subject: [PATCH] New package: polarssl-1.3.1. --- common/shlibs | 1 + srcpkgs/libpolarssl | 1 + srcpkgs/polarssl-devel | 1 + srcpkgs/polarssl/template | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 120000 srcpkgs/libpolarssl create mode 120000 srcpkgs/polarssl-devel create mode 100644 srcpkgs/polarssl/template diff --git a/common/shlibs b/common/shlibs index e568bb9fecd..2da1117bdbd 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 00000000000..d658f6d6591 --- /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 00000000000..d658f6d6591 --- /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 00000000000..c973f0e1388 --- /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 + } +}