void-packages/srcpkgs/texinfo/template

28 lines
831 B
Bash

# Template file for 'texinfo'
pkgname=texinfo
version=7.1
revision=1
build_style=gnu-configure
configure_args="--disable-perl-xs"
hostmakedepends="perl automake help2man ncurses-devel"
makedepends="ncurses-devel"
depends="gzip perl"
short_desc="GNU Documentation System"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/texinfo/"
changelog="https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS"
distfiles="${GNU_SITE}/texinfo/texinfo-${version}.tar.xz"
checksum=deeec9f19f159e046fdf8ad22231981806dac332cc372f1c763504ad82b30953
if [ -z "$CROSS_BUILD" ]; then
# XXX fails with cross compilation
configure_args+=" --enable-perl-xs"
fi
post_install() {
rm -f ${DESTDIR}/usr/share/info/dir
# Compress manually info files.
gzip -9 ${DESTDIR}/usr/share/info/*
}