void-packages/srcpkgs/grep/template
2020-09-28 21:33:29 -04:00

22 lines
623 B
Bash

# Template file for 'grep'
pkgname=grep
version=3.5
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=b82ac77707c2ab945520c8404c9fa9f890f7791a62cf2103cf6238acad87a44a
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
}