22 lines
623 B
Bash
22 lines
623 B
Bash
# Template file for 'grep'
|
|
pkgname=grep
|
|
version=3.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="pcre-devel"
|
|
checkdepends="perl"
|
|
short_desc="GNU grep utility"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnu.org/software/grep/"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=58e6751c41a7c25bfc6e9363a41786cff3ba5709cf11d5ad903cf7cce31cc3fb
|
|
|
|
pre_check() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
# Disable locale tests that fail on musl
|
|
sed -i '/test-localename$(EXEEXT)/d' gnulib-tests/Makefile
|
|
esac
|
|
}
|