void-packages/srcpkgs/texinfo/template

28 lines
832 B
Bash

# Template file for 'texinfo'
pkgname=texinfo
version=7.0.3
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-perl-xs"
hostmakedepends="perl 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=74b420d09d7f528e84f97aa330f0dd69a98a6053e7a4e01767eed115038807bf
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/*
}