void-packages/srcpkgs/texinfo/template
Đoàn Trần Công Danh 3051d0619a srcpkgs: remove ncurses from {hostmake,make,check}depends
xbps-src will remove ncurses in do_clean, which removes base-chroot
2021-01-05 06:40:27 +07:00

26 lines
760 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"
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/*
}