void-packages/srcpkgs/acme-client/template

26 lines
756 B
Bash

# Template file for 'acme-client'
pkgname=acme-client
version=0.1.16
revision=3
_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=69d5867ae8b7db49f08a0c536655e41f960bab7c033b234ff0e2a03fab98f667
CFLAGS="-DHAVE_CONFIG_H"
case "$XBPS_TARGET_MACHINE" in
*-musl) CFLAGS+=" -DMUSL_LIBC" ;;
esac
post_install() {
vlicense LICENSE.md
}