void-packages/srcpkgs/chroot-texinfo/template

42 lines
959 B
Plaintext
Raw Normal View History

2012-02-28 10:35:55 +01:00
# Template file for 'chroot-texinfo'
pkgname=chroot-texinfo
version=4.13a
revision=2
2012-02-28 10:35:55 +01:00
wrksrc="texinfo-4.13"
short_desc="The GNU Documentation System -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/texinfo/"
distfiles="http://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.gz"
2012-02-28 10:35:55 +01:00
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
bootstrap=yes
conflicts="texinfo>=0"
provides="texinfo-${version}"
if [ -n "$IN_CHROOT" ]; then
makedepends="ncurses-devel"
2013-02-19 12:44:42 +01:00
crossmakedepends="${makedepends}"
fi
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --disable-nls
}
do_build() {
if [ -d tools ]; then
make ${makejobs} -C tools/gnulib/lib && \
make ${makejobs} -C tools && make ${makejobs}
else
make ${makejobs}
fi
}
2012-02-28 10:35:55 +01:00
do_install() {
make DESTDIR=${DESTDIR} install
2012-02-28 10:35:55 +01:00
rm -f ${DESTDIR}/usr/bin/info
rm -f ${DESTDIR}/usr/bin/infokey
rm -rf ${DESTDIR}/usr/share
}