void-packages/srcpkgs/chroot-grep/template

27 lines
832 B
Bash

# Template file for 'chroot-grep'
pkgname=chroot-grep
version=3.8
revision=2
bootstrap=yes
build_style=gnu-configure
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
short_desc="GNU grep utility - for use with xbps-src"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/grep/"
distfiles="${GNU_SITE}/grep/grep-${version}.tar.xz"
checksum=498d7cc1b4fb081904d87343febb73475cf771e424fb7e6141aff66013abc382
conflicts="grep>=0"
provides="grep-${version}_${revision}"
make_check=no # Infinate loop in hash-collision-perf without perl
repository=bootstrap
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
export ac_cv_header_sys_cdefs_h=no
fi
post_install() {
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
}