37 lines
867 B
Plaintext
37 lines
867 B
Plaintext
|
# 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 <xtraeme@gmail.com>"
|
||
|
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
|
||
|
}
|
||
|
}
|