void-packages/srcpkgs/chroot-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

41 lines
1,019 B
Bash

# Template file for 'chroot-texinfo'
pkgname=chroot-texinfo
version=4.13a
revision=7
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.eu>"
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
if [ -z "$CHROOT_READY" ]; then
export LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
fi
./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
}