void-packages/srcpkgs/chroot-texinfo/template

40 lines
953 B
Bash

# Template file for 'chroot-texinfo'
pkgname=chroot-texinfo
reverts="6.5_1"
version=4.13a
revision=10
wrksrc=texinfo-4.13
bootstrap=yes
hostmakedepends="ncurses-devel"
makedepends="ncurses-devel"
conflicts="texinfo>=0"
provides="texinfo-${version}_${revision}"
short_desc="The GNU Documentation System -- for xbps-src use"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="${GNU_SITE}/texinfo/texinfo-${version}.tar.lzma"
checksum=6d28b0ceae866e3536142fc552e7a3bc9f84c8303119c25731b2478eef64c9e5
do_configure() {
cp -f ${XBPS_CROSSPFDIR}/config.sub build-aux
./configure ${configure_args} --disable-nls
}
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/bin/info
rm -f ${DESTDIR}/usr/bin/infokey
rm -rf ${DESTDIR}/usr/share
}