chroot-texinfo: make this build in native builds.

This commit is contained in:
Juan RP 2013-02-06 14:01:10 +01:00
parent d0c4b561f4
commit 31ebe608ea
1 changed files with 10 additions and 1 deletions

View File

@ -14,12 +14,21 @@ bootstrap=yes
conflicts="texinfo>=0"
provides="texinfo-${version}"
if [ -n "$IN_CHROOT" ]; then
makedepends="ncurses-devel"
fi
do_configure() {
./configure ${CONFIGURE_SHARED_ARGS} --disable-nls
}
do_build() {
make ${makejobs} -C tools/gnulib/lib && make ${makejobs} -C tools && make ${makejobs}
if [ -d tools ]; then
make ${makejobs} -C tools/gnulib/lib && \
make ${makejobs} -C tools && make ${makejobs}
else
make ${makejobs}
fi
}
do_install() {