void-packages/srcpkgs/wt/template

28 lines
763 B
Bash

# Template file for 'wt'
pkgname=wt
version=4.10.0
revision=2
build_style=cmake
makedepends="boost-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
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
configure_args+=" -DCMAKE_CXX_FLAGS=-latomic"
fi
wt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}