ucspi-ssl: pass CFLAGS and LDFLAGS. Cleanup.

This commit is contained in:
Christian Neukirchen 2016-05-24 17:08:56 +02:00
parent 524be34861
commit 51b95388eb

View file

@ -1,10 +1,10 @@
# Template file for 'ucspi-ssl'
pkgname=ucspi-ssl
version=0.96
revision=2
revision=3
short_desc="Command-line tools for building SSL client-server applications"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="public domain"
license="Public Domain"
build_style=gnu-makefile
hostmakedepends="perl libressl-devel"
makedepends="libressl-devel"
@ -12,15 +12,17 @@ depends="ucspi-tcp"
homepage="http://www.fehcom.de/ipnet/ucspi-ssl.html"
distfiles="http://www.fehcom.de/ipnet/ucspi-ssl/${pkgname}-${version}.tgz"
checksum=a99bfc5262e8cf7ee086e85853ae8566a97f96c94424f7bc58ad7108db20a856
wrksrc=${pkgname}-${version}
wrksrc="${pkgname}-${version}"
create_wrksrc=yes
build_wrksrc=host/superscript.com/net/${pkgname}-${version}/src
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
pwd >home
echo "${CC} ${CFLAGS}" >conf-cc
echo "${CC} ${LDFLAGS}" >conf-ld
}
do_install() {
@ -31,12 +33,11 @@ do_install() {
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
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/README
}