gawk: update to 5.0.0.
This commit is contained in:
parent
63f57d041e
commit
8e538c41ea
|
@ -1,36 +1,33 @@
|
|||
# Template file for 'gawk'
|
||||
pkgname=gawk
|
||||
version=4.2.1
|
||||
revision=2
|
||||
lib32disabled=yes
|
||||
version=5.0.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-readline"
|
||||
makedepends="readline-devel"
|
||||
short_desc="The GNU awk utility"
|
||||
short_desc="GNU awk utility"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
license="GPL-3"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://directory.fsf.org/wiki/Gawk"
|
||||
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
|
||||
checksum=d1119785e746d46a8209d28b2de404a57f983aa48670f4e225531d3bdc175551
|
||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||
checksum=50f091ed0eb485ad87dbb620d773a3e2c31a27f75f5e008f7bf065055f024406
|
||||
lib32disabled=yes
|
||||
|
||||
provides="awk-0_1"
|
||||
alternatives="
|
||||
awk:awk:/usr/bin/gawk
|
||||
awk:awk.1:/usr/share/man/man1/gawk.1"
|
||||
|
||||
pre_configure() {
|
||||
# Create symlinks for bins and manpages.
|
||||
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
|
||||
}
|
||||
pre_check() {
|
||||
sed -i 's/done | more/done/g' test/Makefile
|
||||
vsed -i 's/done | more/done/g' test/Makefile
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -i '/testext/d' test/Makefile
|
||||
sed -i '/clos1way6/d' test/Makefile ;;
|
||||
vsed -i '/testext/d' test/Makefile
|
||||
vsed -i '/clos1way6/d' test/Makefile ;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm ${DESTDIR}/usr/bin/awk
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue