29 lines
842 B
Bash
29 lines
842 B
Bash
# Template file for 'sed'
|
|
pkgname=sed
|
|
version=4.7
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
configure_args="--enable-acl gl_cv_func_working_acl_get_file=yes"
|
|
makedepends="acl-devel"
|
|
checkdepends="perl"
|
|
short_desc="The GNU stream editor"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://www.gnu.org/software/sed"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a
|
|
|
|
post_extract() {
|
|
# dont regenerate the man page with help2man...
|
|
sed -i 's|\(^doc/sed.1:\).*$|\1|' Makefile.in
|
|
}
|
|
|
|
pre_check() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
# Disable locale tests that fail on musl
|
|
sed -i '/test-localename$(EXEEXT)/d' gnulib-tests/Makefile
|
|
sed -i '/test-mbrtowc5.sh/d' gnulib-tests/Makefile ;;
|
|
esac
|
|
}
|