void-packages/srcpkgs/ctwm/template

35 lines
1.1 KiB
Bash

# Template file for 'ctwm'
pkgname=ctwm
version=4.1.0
revision=1
build_style=cmake
configure_args="
-DUSE_M4=$(vopt_if m4 ON OFF)
-DUSE_XPM=$(vopt_if xpm ON OFF)
-DUSE_JPEG=$(vopt_if jpeg ON OFF)
-DUSE_EWMH=$(vopt_if ewmh ON OFF)
-DUSE_RPLAY=$(vopt_if rplay ON OFF)
-DUSE_XRANDR=$(vopt_if xrandr ON OFF)"
hostmakedepends="flex m4"
makedepends="libX11-devel libXext-devel libXmu-devel libXt-devel libSM-devel libICE-devel libXpm-devel libXrandr-devel"
depends="$(vopt_if m4 "m4")"
short_desc="Claude's Tab Window Manager"
maintainer="Joshua Krämer <joshua@kraemer.link>"
license="MIT"
homepage="https://ctwm.org"
distfiles="https://ctwm.org/dist/ctwm-${version}.tar.xz"
checksum=dffc4724dda6d5637e96c44e476aee87850ff144312f589dd856e1e8bf192029
CFLAGS="-D_GNU_SOURCE"
build_options="m4 xpm jpeg ewmh rplay xrandr"
build_options_default="m4 xpm ewmh xrandr"
desc_option_m4="Use m4 to preprocess config files"
desc_option_xpm="Enable support for XPM images"
desc_option_ewmh="Enable support for EWMH"
desc_option_rplay="Enable sound support via rplay"
desc_option_xrandr="Enable multi-monitor support via xrandr"
post_install() {
vlicense COPYRIGHT
}