void-packages/srcpkgs/chroot-grep/template

26 lines
767 B
Bash

# Template file for 'chroot-grep'
pkgname=chroot-grep
version=3.11
revision=1
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=1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab
conflicts="grep>=0"
provides="grep-${version}_${revision}"
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
}