void-packages/srcpkgs/polarssl/template

32 lines
839 B
Plaintext
Raw Normal View History

2013-10-30 17:10:07 +01:00
# Template file for 'polarssl'
pkgname=polarssl
version=1.3.7
2014-07-15 09:18:26 +02:00
revision=3
2013-10-30 17:10:07 +01:00
build_style=cmake
configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on"
2013-10-30 17:11:17 +01:00
hostmakedepends="cmake perl"
2014-07-15 09:18:26 +02:00
makedepends="zlib-devel libressl-devel"
2013-10-30 17:10:07 +01:00
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=6beef0281160bf07fefefd6b412dd1ce4c39261cf5300835aef442253f0400e5
2013-10-30 17:10:07 +01: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 10:56:19 +02:00
vmove "usr/lib/*.a"
2013-10-30 17:10:07 +01:00
vmove "usr/lib/*.so"
}
}