32 lines
834 B
Bash
32 lines
834 B
Bash
# Template file for 'texinfo'
|
|
pkgname=texinfo
|
|
version=5.2
|
|
revision=1
|
|
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="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=6b8ca30e9b6f093b54fe04439e5545e564c63698a806a48065c0bba16994cf74
|
|
|
|
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/*
|
|
}
|