# Template file for 'texinfo'
pkgname=texinfo
version=4.13a
revision=7
wrksrc="$pkgname-4.13"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu-configure
short_desc="The GNU Documentation System"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
long_desc="
 Texinfo is the official documentation format of the GNU project. It was
 invented by Richard Stallman and Bob Chassell many years ago, loosely based
 on Brian Reid's Scribe and other formatting languages of the time. It is
 used by many non-GNU projects as well."

bootstrap=yes

Add_dependency full gzip
Add_dependency build ncurses-devel
if [ -n "$BOOTSTRAP_PKG_REBUILD" ]; then
	Add_dependency build gettext
fi

post_install() {
	# Compress manually info files.
	gzip -9 ${DESTDIR}/usr/share/info/*
}