void-packages/srcpkgs/polarssl/template
2014-08-19 15:34:50 +02:00

31 lines
839 B
Text

# Template file for 'polarssl'
pkgname=polarssl
version=1.3.8
revision=1
build_style=cmake
configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on"
hostmakedepends="cmake perl"
makedepends="zlib-devel libressl-devel"
short_desc="Portable cryptographic and SSL/TLS library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.polarssl.org"
distfiles="http://www.polarssl.org/code/releases/polarssl-${version}-gpl.tgz"
checksum=318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1
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/*.a"
vmove "usr/lib/*.so"
}
}