void-packages/srcpkgs/texinfo/template

33 lines
802 B
Bash

# Template file for 'texinfo'
pkgname=texinfo
version=5.2
revision=2
hostmakedepends="perl ncurses-devel"
makedepends="ncurses-devel"
conflicts="chroot-texinfo>=0"
depends="gzip perl"
short_desc="The GNU Documentation System"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=5471ef683a64588a7cfef46ef2bdd3fbcbca89d847e10832612293f105e44eda
do_configure() {
./configure ${configure_args}
}
do_build() {
if [ -d tools ]; then
make ${makejobs} -C tools/gnulib/lib
make ${makejobs} -C tools
fi
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
rm -f ${DESTDIR}/usr/share/info/dir
# Compress manually info files.
gzip -9 ${DESTDIR}/usr/share/info/*
}