void-packages/srcpkgs/kore/template
2022-03-25 15:01:20 +01:00

33 lines
941 B
Bash

# Template file for 'kore'
pkgname=kore
version=4.2.1
revision=1
# arch specific seccomp stuff
archs="x86_64* aarch64* ppc64*"
build_style=gnu-makefile
make_use_env=yes
make_build_args="PREFIX=/usr CURL=1 TASKS=1 PGSQL=1 JSONRPC=1 ACME=1"
hostmakedepends="postgresql-libs-devel"
makedepends="openssl-devel libcurl-devel postgresql-libs-devel yajl-devel"
short_desc="Easy to use web platform for writing scalable web APIs in C"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="ISC"
homepage="https://kore.io"
distfiles="https://kore.io/releases/kore-${version}.tar.gz"
checksum=f76b108a4eefa27c89123f5d6a36b493b171e429be7a85d3dd1466ac87e7f15a
disable_parallel_build=yes
export TARGET_PLATFORM=${XBPS_TARGET_MACHINE}
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" python3-devel"
make_build_args+="PYTHON=1"
fi
post_install() {
vlicense LICENSE
}