2008-10-23 18:26:11 +02:00
|
|
|
# Template file for 'texinfo'
|
|
|
|
pkgname=texinfo
|
|
|
|
version=4.13a
|
2013-02-07 16:54:38 +01:00
|
|
|
revision=10
|
2008-10-23 18:26:11 +02:00
|
|
|
wrksrc="$pkgname-4.13"
|
2013-03-24 10:21:58 +01:00
|
|
|
makedepends="ncurses-devel"
|
2008-10-23 18:26:11 +02:00
|
|
|
short_desc="The GNU Documentation System"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-14 15:41:36 +01:00
|
|
|
license="GPL-3"
|
2013-02-01 11:37:50 +01:00
|
|
|
homepage="http://www.gnu.org/software/texinfo/"
|
|
|
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
2008-10-23 18:26:11 +02:00
|
|
|
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
2009-10-17 16:41:06 +02:00
|
|
|
|
2013-05-26 10:41:55 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="ncurses-devel"
|
|
|
|
fi
|
|
|
|
|
2013-02-07 16:54:38 +01:00
|
|
|
do_configure() {
|
2013-05-26 10:41:55 +02:00
|
|
|
./configure ${configure_args}
|
2013-02-07 16:54:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
if [ -d tools ]; then
|
2013-05-26 10:41:55 +02:00
|
|
|
make ${makejobs} -C tools/gnulib/lib
|
|
|
|
make ${makejobs} -C tools
|
|
|
|
fi
|
|
|
|
make ${makejobs}
|
2013-02-07 16:54:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-05-26 10:41:55 +02:00
|
|
|
make DESTDIR=${DESTDIR} install
|
2013-02-07 16:54:38 +01:00
|
|
|
|
2012-02-14 15:41:36 +01:00
|
|
|
rm -f ${DESTDIR}/usr/share/info/dir
|
2010-10-26 15:24:09 +02:00
|
|
|
# Compress manually info files.
|
|
|
|
gzip -9 ${DESTDIR}/usr/share/info/*
|
2009-10-17 16:41:06 +02:00
|
|
|
}
|
2013-04-14 15:09:59 +02:00
|
|
|
|
|
|
|
texinfo_package() {
|
|
|
|
conflicts="chroot-texinfo>=0"
|
|
|
|
depends="gzip"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|