void-packages/srcpkgs/ctwm/template

34 lines
1.1 KiB
Bash

# Template file for 'ctwm'
pkgname=ctwm
version=4.0.3
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=2e4b475a0168cb799723fd693b359e188179e51ce476ab453689db8fcdfc800c
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
}