void-packages/srcpkgs/xchm/template

21 lines
643 B
Bash

# Template file for 'xchm'
pkgname=xchm
version=1.34
revision=2
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-gtk3"
hostmakedepends="automake gettext-devel tar"
makedepends="libchmlib-devel wxWidgets-gtk3-devel"
short_desc="CHM viewer for Unix"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/rzvncj/xCHM"
distfiles="https://github.com/rzvncj/xCHM/releases/download/${version}/xchm-${version}.tar.gz"
checksum=b07971ddb02992da462060fb638c051318f389aef822485646aa7fbe245a0d93
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
pre_configure() {
autoreconf -fi
}