void-packages/srcpkgs/ucspi-ssl/template
2018-11-05 00:49:59 -02:00

44 lines
1.2 KiB
Bash

# Template file for 'ucspi-ssl'
pkgname=ucspi-ssl
version=0.99d
revision=6
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"
distfiles="https://sources.voidlinux.eu/${pkgname}-${version}/${pkgname}-${version}.tgz"
checksum=f056deb954f4396123cdd97c8c8adc6386a51b49b0be6e22a9eb4a24e43e7f69
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 >home
echo "${CC} ${CFLAGS}" >../conf-cc
echo "${CC} ${LDFLAGS}" >../conf-ld
}
do_install() {
vbin https@
vbin sslcat
vbin sslclient
vbin sslconnect
vbin sslperl
vbin sslprint
vbin sslserver
vman ../man/https@.1
vman ../man/sslcat.1
vman ../man/sslclient.1
vman ../man/sslconnect.1
vman ../man/sslserver.1
vman ../man/ucspi-tls.2
vdoc ../doc/UCSPI-SSL
}