void-packages/srcpkgs/ucspi-ssl/template

42 lines
1.2 KiB
Bash

# Template file for 'ucspi-ssl'
pkgname=ucspi-ssl
version=0.95b
revision=2
short_desc="Command-line tools for building SSL client-server applications"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="public domain"
build_style=gnu-makefile
hostmakedepends="perl libressl-devel"
makedepends="libressl-devel"
depends="ucspi-tcp"
homepage="http://www.fehcom.de/ipnet/ucspi-ssl.html"
distfiles="http://www.fehcom.de/ipnet/ucspi-ssl/${pkgname}-${version}.tgz"
checksum=9f3bcf66546b433b089f6f340d243065beb801b97d4026e54dd586f0022b5f1e
wrksrc=${pkgname}-${version}
create_wrksrc=yes
build_wrksrc=host/superscript.com/net/${pkgname}-${version}/src
# ad hoc build system breaks parallel build and cross-compilation
disable_parallel_build=yes
nocross=yes
pre_build() {
pwd >${wrksrc}/${build_wrksrc}/home
}
do_install() {
vbin https@
vbin sslcat
vbin sslclient
vbin sslconnect
vbin sslperl
vbin sslprint
vbin sslserver
pkgpath=${wrksrc}/host/superscript.com/net/${pkgname}-${version}
vman ${pkgpath}/man/https@.1
vman ${pkgpath}/man/sslcat.1
vman ${pkgpath}/man/sslclient.1
vman ${pkgpath}/man/sslconnect.1
vman ${pkgpath}/man/sslserver.1
vman ${pkgpath}/man/ucspi-tls.2
vdoc ${pkgpath}/doc/README
}