2010-04-23 13:21:48 +00:00
|
|
|
# Build template for 'chroot-grep'.
|
|
|
|
#
|
|
|
|
. ${XBPS_SRCPKGDIR}/grep/template
|
|
|
|
|
|
|
|
# Reset some vars
|
2011-06-30 23:16:07 +00:00
|
|
|
unset run_depends build_depends revision
|
2010-04-23 13:21:48 +00:00
|
|
|
|
2011-11-12 01:54:14 +00:00
|
|
|
revision=3
|
2011-07-06 06:16:56 +00:00
|
|
|
bootstrap=yes
|
2010-04-23 13:21:48 +00:00
|
|
|
pkgname=chroot-grep
|
|
|
|
wrksrc=grep-${version}
|
2011-06-30 22:57:50 +00:00
|
|
|
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
|
2010-04-23 13:21:48 +00:00
|
|
|
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."
|
|
|
|
|
2011-06-30 23:16:07 +00:00
|
|
|
|
2010-04-23 13:21:48 +00:00
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
mkdir -p ${DESTDIR}/tools
|
|
|
|
mv ${DESTDIR}/usr/bin ${DESTDIR}/tools
|
|
|
|
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
|
|
|
|
}
|