2013-10-30 16:10:07 +00:00
|
|
|
# Template file for 'polarssl'
|
|
|
|
pkgname=polarssl
|
2014-11-03 22:40:24 +00:00
|
|
|
version=1.3.9
|
2014-08-19 13:34:50 +00:00
|
|
|
revision=1
|
2013-10-30 16:10:07 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on"
|
2013-10-30 16:11:17 +00:00
|
|
|
hostmakedepends="cmake perl"
|
2014-07-15 07:18:26 +00:00
|
|
|
makedepends="zlib-devel libressl-devel"
|
2013-10-30 16:10:07 +00:00
|
|
|
short_desc="Portable cryptographic and SSL/TLS library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.polarssl.org"
|
2014-11-03 22:35:06 +00:00
|
|
|
update_pattern=$pkgname'-\K[\d.]+'
|
2013-10-30 16:10:07 +00:00
|
|
|
distfiles="http://www.polarssl.org/code/releases/polarssl-${version}-gpl.tgz"
|
2014-11-03 22:40:24 +00:00
|
|
|
checksum=d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755
|
2013-10-30 16:10:07 +00:00
|
|
|
|
|
|
|
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
|
2014-06-16 08:56:19 +00:00
|
|
|
vmove "usr/lib/*.a"
|
2013-10-30 16:10:07 +00:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|