void-packages/srcpkgs/xchm/template

21 lines
643 B
Bash

# Template file for 'xchm'
pkgname=xchm
version=1.36
revision=1
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=291411f51fe702f7f60a2904757183cfb7b7a0852e008bd71dcbfbe573ea9f43
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
pre_configure() {
autoreconf -fi
}