From 0fd48f284a7c5ec986fbbf44ffc717b3ee8476ca Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 Jun 2012 10:39:38 +0200 Subject: [PATCH] chroot-texinfo: add missing builddeps to build it in the chroot. --- srcpkgs/chroot-texinfo/template | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/srcpkgs/chroot-texinfo/template b/srcpkgs/chroot-texinfo/template index 35041505d43..fdad683f76b 100644 --- a/srcpkgs/chroot-texinfo/template +++ b/srcpkgs/chroot-texinfo/template @@ -1,14 +1,17 @@ # Template file for 'chroot-texinfo' pkgname=chroot-texinfo version=4.13a -wrksrc="texinfo-4.13" -homepage="http://www.gnu.org/software/texinfo/" -distfiles="http://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.gz" -build_style=gnu-configure revision=1 +wrksrc="texinfo-4.13" +build_style=gnu-configure +bootstrap=yes +conflicts="texinfo>=0" +provides="texinfo-${version}" short_desc="The GNU Documentation System -- for xbps-src use" maintainer="Juan RP " license="GPL-3" +homepage="http://www.gnu.org/software/texinfo/" +distfiles="http://ftp.gnu.org/gnu/texinfo/texinfo-$version.tar.gz" checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68 long_desc=" Texinfo is the official documentation format of the GNU project. It was @@ -18,9 +21,9 @@ long_desc=" This package is only meant to be used by xbps-src, don't install it manually." -bootstrap=yes -conflicts="texinfo>=0" -provides="texinfo-${version}" +if [ -n "$IN_CHROOT" ]; then + makedepends="ncurses-devel" +fi post_install() { rm -f ${DESTDIR}/usr/bin/info