void-packages/srcpkgs/treefrog-framework/template

33 lines
945 B
Bash

# Template file for 'treefrog-framework'
pkgname=treefrog-framework
version=1.22.0
revision=1
build_style=qmake
configure_args="shared_mongoc=1 header.path=/usr/include/treefrog"
build_wrksrc="src"
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel mongo-c-driver-devel"
short_desc="High-speed C++ MVC Framework for Web Application"
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=0b9d79d0e17266ff603c1ff812289e8d2500d8f758d3c700ccc3aaad51e3751d
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-declarative-devel mongo-c-driver-devel"
fi
post_install() {
vlicense ../copyright
}
treefrog-framework-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}