void-packages/srcpkgs/acme-client/template

26 lines
756 B
Bash

# Template file for 'acme-client'
pkgname=acme-client
version=0.1.16
revision=2
_distver=VERSION_${version//./_}
wrksrc=acme-client-portable-${_distver}
build_style=gnu-makefile
make_install_args="MAN1DIR=/usr/share/man/man1 BINDIR=/usr/bin"
hostmakedepends="pkg-config"
makedepends="libbsd-devel libressl-devel"
short_desc="A secure ACME client"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="ISC"
homepage="https://kristaps.bsd.lv/acme-client/"
distfiles="https://github.com/kristapsdz/acme-client-portable/archive/${_distver}.tar.gz"
checksum=055378037c1fe5f3e1e1651860048961ed141ad6dc76d68c3819863d252fa1a7
CFLAGS="-DHAVE_CONFIG_H"
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
esac
post_install() {
vlicense LICENSE.md
}