void-packages/srcpkgs/texinfo/template

39 lines
882 B
Text
Raw Normal View History

# Template file for 'texinfo'
pkgname=texinfo
version=4.13a
revision=11
wrksrc="$pkgname-4.13"
makedepends="ncurses-devel"
conflicts="chroot-texinfo>=0"
depends="gzip"
short_desc="The GNU Documentation System"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
if [ "$CROSS_BUILD" ]; then
hostmakedepends="ncurses-devel"
fi
2013-02-07 15:54:38 +00:00
do_configure() {
./configure ${configure_args}
2013-02-07 15:54:38 +00:00
}
do_build() {
if [ -d tools ]; then
make ${makejobs} -C tools/gnulib/lib
make ${makejobs} -C tools
fi
make ${makejobs}
2013-02-07 15:54:38 +00:00
}
do_install() {
make DESTDIR=${DESTDIR} install
2013-02-07 15:54:38 +00:00
rm -f ${DESTDIR}/usr/share/info/dir
# Compress manually info files.
gzip -9 ${DESTDIR}/usr/share/info/*
}