2010-04-23 15:21:48 +02:00
|
|
|
# Build template for 'chroot-grep'.
|
|
|
|
#
|
|
|
|
. ${XBPS_SRCPKGDIR}/grep/template
|
|
|
|
|
|
|
|
# Reset some vars
|
2011-06-22 08:47:56 +02:00
|
|
|
unset build_depends revision
|
2010-04-23 15:21:48 +02:00
|
|
|
|
2010-12-21 18:55:27 +01:00
|
|
|
base_chroot=yes
|
2010-04-23 15:21:48 +02:00
|
|
|
pkgname=chroot-grep
|
|
|
|
wrksrc=grep-${version}
|
2011-06-22 08:47:56 +02:00
|
|
|
configure_args="${configure_args} --disable-perl-regexp"
|
2010-04-23 15:21:48 +02:00
|
|
|
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
|
|
|
|
}
|