void-packages/srcpkgs/texinfo/template
jbu c2bfc6b7d5 bandwith / download times + $GNU_SITE cleanup
+ To reduce bandwidth and download times, packages use bz2/lzma/xz where possible.
+ Also use ${GNU_SITE} and ${KERNEL_SITE} where appropriate.
+ Clean up xlint warnings.
+ inetutils: update to 1.9.3 and split into subpkgs
2015-05-22 11:47:56 +02:00

32 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/*
}