27 lines
761 B
Bash
27 lines
761 B
Bash
# Template file for 'texinfo'
|
|
pkgname=texinfo
|
|
version=6.8
|
|
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/"
|
|
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
|
checksum=8eb753ed28bca21f8f56c1a180362aed789229bd62fff58bf8368e9beb59fec4
|
|
|
|
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/*
|
|
}
|