From e3130a75b95660d3ec7a02ebf0c75b607725aa6c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 23 Apr 2010 15:21:48 +0200 Subject: [PATCH] Added chroot-grep pkg, only to provide a grep that works with autoconf. --HG-- extra : convert_revision : 8d2bc659d1678b11faab13ec98de01ee728fef94 --- srcpkgs/chroot-grep/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/chroot-grep/template diff --git a/srcpkgs/chroot-grep/template b/srcpkgs/chroot-grep/template new file mode 100644 index 00000000000..54ed215e1ba --- /dev/null +++ b/srcpkgs/chroot-grep/template @@ -0,0 +1,22 @@ +# Build template for 'chroot-grep'. +# +. ${XBPS_SRCPKGDIR}/grep/template + +# Reset some vars +unset build_depends + +pkgname=chroot-grep +wrksrc=grep-${version} +configure_args="${configure_args} --disable-nls ac_cv_path_GREP=grep" +short_desc="The GNU grep utility - for use with xbps-src" +long_desc="${long_desc} + + This package only installs the grep utility into a not default location + for use in chroots with xbps-src." + +post_install() +{ + mkdir -p ${DESTDIR}/tools + mv ${DESTDIR}/usr/bin ${DESTDIR}/tools + rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man +}