void-packages/srcpkgs/grep/template
2019-08-19 10:19:31 +02:00

22 lines
627 B
Bash

# Template file for 'grep'
pkgname=grep
version=3.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="pcre-devel"
checkdepends="perl"
short_desc="The 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=b960541c499619efd6afe1fa795402e4733c8e11ebf9fafccc0bb4bccdc5b514
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
}