chroot-grep: install into /usr.
This commit is contained in:
parent
acca521f8c
commit
e13e9d863b
1 changed files with 19 additions and 16 deletions
|
@ -1,25 +1,28 @@
|
||||||
# Build template for 'chroot-grep'.
|
# Build template for 'chroot-grep'.
|
||||||
#
|
|
||||||
. ${XBPS_SRCPKGDIR}/grep/template
|
|
||||||
|
|
||||||
# Reset some vars
|
|
||||||
unset run_depends build_depends revision
|
|
||||||
|
|
||||||
revision=3
|
|
||||||
bootstrap=yes
|
|
||||||
pkgname=chroot-grep
|
pkgname=chroot-grep
|
||||||
|
version=2.10
|
||||||
|
revision=4
|
||||||
wrksrc=grep-${version}
|
wrksrc=grep-${version}
|
||||||
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
|
homepage="http://www.gnu.org/software/grep/"
|
||||||
|
distfiles="http://ftp.gnu.org/gnu/grep/grep-$version.tar.xz"
|
||||||
short_desc="The GNU grep utility - for use with xbps-src"
|
short_desc="The GNU grep utility - for use with xbps-src"
|
||||||
long_desc="${long_desc}
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
checksum=6c796773f23bcd9bb751165bb9ce13a04d678e6d426ca59843e386f99dc77ab3
|
||||||
|
long_desc="
|
||||||
|
GNU grep is based on a fast lazy-state deterministic matcher (about twice
|
||||||
|
as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for
|
||||||
|
a fixed string that eliminates impossible text from being considered by the
|
||||||
|
full regexp matcher without necessarily having to look at every character.
|
||||||
|
The result is typically many times faster than Unix grep or egrep.
|
||||||
|
|
||||||
This package only installs the grep utility into a not default location
|
This package is only meant to be used with xbps-src exclusively, you probably
|
||||||
for use in chroots with xbps-src."
|
don't have to install it manually."
|
||||||
|
|
||||||
|
bootstrap=yes
|
||||||
|
|
||||||
post_install()
|
post_install() {
|
||||||
{
|
|
||||||
mkdir -p ${DESTDIR}/tools
|
|
||||||
mv ${DESTDIR}/usr/bin ${DESTDIR}/tools
|
|
||||||
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
|
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue