33 lines
945 B
Bash
33 lines
945 B
Bash
# Template file for 'treefrog-framework'
|
|
pkgname=treefrog-framework
|
|
version=1.23.0
|
|
revision=1
|
|
build_wrksrc="src"
|
|
build_style=qmake
|
|
configure_args="shared_mongoc=1 header.path=/usr/include/treefrog"
|
|
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=d1fad78445bc352a9b95a77b961407fbe0fab4c19da9a54ed50088b9b3a0c616
|
|
|
|
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"
|
|
}
|
|
}
|