void-packages/srcpkgs/texinfo/template
2020-01-06 17:47:15 +01:00

27 lines
788 B
Bash

# Template file for 'texinfo'
pkgname=texinfo
version=6.7
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-perl-xs"
hostmakedepends="perl ncurses-devel"
makedepends="ncurses-devel"
depends="gzip perl"
checkdepends="ncurses gzip"
short_desc="GNU Documentation System"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa
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/*
}