void-packages/srcpkgs/treefrog-framework-tools/template

32 lines
992 B
Bash

# Template file for 'treefrog-framework-tools'
pkgname=treefrog-framework-tools
version=1.23.0
revision=1
wrksrc="treefrog-framework-${version}"
build_wrksrc="tools"
build_style=qmake
configure_args="header.path=${XBPS_CROSS_BASE}/usr/include/treefrog
lib.path=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel mongo-c-driver-devel treefrog-framework-devel"
short_desc="High-speed C++ MVC Framework for Web Application - (Tools)"
maintainer="John <johnz@posteo.net>"
license="BSD-3-Clause"
homepage="http://www.treefrogframework.org/"
distfiles="https://github.com/treefrogframework/treefrog-framework/archive/v${version}.tar.gz"
checksum=d1fad78445bc352a9b95a77b961407fbe0fab4c19da9a54ed50088b9b3a0c616
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel"
fi
case $XBPS_TARGET_MACHINE in
aarch64-musl) makedepends+=" libexecinfo-devel"
make_build_args="SUBLIBS=-lexecinfo"
;;
esac
post_install() {
vlicense ../copyright
}