Skip to content

Commit

Permalink
wt: add build options and their dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Danoloan10 committed Dec 25, 2023
1 parent 63b5ddd commit 1ebcf9b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion srcpkgs/wt/template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ pkgname=wt
version=4.10.0
revision=2
build_style=cmake
makedepends="boost-devel"
configure_args="-DBUILD_EXAMPLES=OFF -DINSTALL_EXAMPLES=OFF $(vopt_bool firebird ENABLE_FIREBIRD)"
makedepends="boost-devel openssl-devel Haru-devel pango-devel sqlite-devel postgresql-libs-devel
libmysqlclient-devel unixodbc-devel qt-devel qt5-devel libfreeglut-devel libunwind-devel
$(vopt_if firebird firebird3)"
short_desc="Wt, C++ Web Toolkit"
maintainer="danoloan10 <danoloan10@tutanota.com>"
license="GPL-2.0-or-later"
Expand All @@ -12,6 +15,13 @@ changelog="https://webtoolkit.eu/wt/doc/reference/html/Releasenotes.html"
distfiles="https://github.com/emweb/wt/archive/refs/tags/${version}.tar.gz"
checksum=7090023d4fc4b6594bf4cb11072d9d3d775269327aece9a8993c7bbe46decb9d

build_options="firebird"
build_options_default=""

if [ -n "$CROSS_BUILD" ]; then
build_options_default+=" firebird"
fi

wt-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
Expand Down

0 comments on commit 1ebcf9b

Please sign in to comment.