void-packages/srcpkgs/wt/template

28 lines
943 B
Bash

# Template file for 'wt'
pkgname=wt
version=4.10.0
revision=3
build_style=cmake
build_helper=qmake
configure_args="-DBUILD_EXAMPLES=OFF -DENABLE_QT4=OFF"
hostmakedepends="qt5-host-tools qt5-qmake"
makedepends="boost-devel openssl-devel Haru-devel pango-devel sqlite-devel postgresql-libs-devel
libmysqlclient-devel unixodbc-devel qt5-devel libfreeglut-devel libunwind-devel"
short_desc="Wt, C++ Web Toolkit"
maintainer="danoloan10 <danoloan10@tutanota.com>"
license="GPL-2.0-or-later"
homepage="https://www.webtoolkit.eu/wt"
changelog="https://webtoolkit.eu/wt/doc/reference/html/Releasenotes.html"
distfiles="https://github.com/emweb/wt/archive/refs/tags/${version}.tar.gz"
checksum=7090023d4fc4b6594bf4cb11072d9d3d775269327aece9a8993c7bbe46decb9d
wt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}