26 lines
773 B
Bash
26 lines
773 B
Bash
# Template file for 'chroot-grep'
|
|
pkgname=chroot-grep
|
|
version=3.3
|
|
revision=1
|
|
wrksrc="grep-${version}"
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
|
|
short_desc="The GNU grep utility - for use with xbps-src"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/grep/"
|
|
distfiles="${GNU_SITE}/grep/grep-${version}.tar.xz"
|
|
checksum=b960541c499619efd6afe1fa795402e4733c8e11ebf9fafccc0bb4bccdc5b514
|
|
conflicts="grep>=0"
|
|
provides="grep-${version}_${revision}"
|
|
|
|
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
|
|
}
|