void-packages/srcpkgs/chroot-grep/template
Juan RP 5355f32aca xbps-src: support building bootstrap pkgs in chroot with -D.
The base_chroot var has been renamed to bootstrap, to avoid conflicts
with the base-chroot pkg. So now you can rebuild any bootstrap package
if the masterdir is ready (base-chroot already) installed and
installation is only to destdir.
2011-07-06 08:16:56 +02:00

26 lines
639 B
Text

# Build template for 'chroot-grep'.
#
. ${XBPS_SRCPKGDIR}/grep/template
# Reset some vars
unset run_depends build_depends revision
revision=2
bootstrap=yes
pkgname=chroot-grep
wrksrc=grep-${version}
configure_args="--disable-perl-regexp --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."
Add_dependency run glibc
post_install()
{
mkdir -p ${DESTDIR}/tools
mv ${DESTDIR}/usr/bin ${DESTDIR}/tools
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
}