49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
# Template file for 'ucspi-ssl'
|
|
pkgname=ucspi-ssl
|
|
version=0.99e
|
|
revision=3
|
|
create_wrksrc=yes
|
|
build_wrksrc="host/superscript.com/net/${pkgname}-${version}/src"
|
|
build_style=gnu-makefile
|
|
hostmakedepends="perl libressl-devel"
|
|
makedepends="libressl-devel"
|
|
depends="ucspi-tcp"
|
|
short_desc="Command-line tools for building SSL client-server applications"
|
|
maintainer="Evan Deaubl <evan@deaubl.name>"
|
|
license="Public Domain"
|
|
homepage="http://www.fehcom.de/ipnet/ucspi-ssl.html"
|
|
distfiles="http://www.fehcom.de/ipnet/ucspi-ssl/ucspi-ssl-${version}.tgz"
|
|
checksum=b246a4cdab48a0a47854892ce683caf5444096af0c2b8ccd04e5b4d604e75633
|
|
# ad hoc build system breaks parallel build and cross-compilation
|
|
disable_parallel_build=yes
|
|
nocross=yes
|
|
export SSL_NO_VERIFY_PEER=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
|
|
}
|
|
|
|
# Fix exec location in scripts
|
|
post_install() {
|
|
sed -i 's:/builddir/.*:/usr/bin/sslclient:' \
|
|
${DESTDIR}/usr/bin/sslcat ${DESTDIR}/usr/bin/https@
|
|
}
|