nawk: update to 20180823. (#2111)

This commit is contained in:
cr6git 2018-08-26 09:44:02 +02:00 committed by GitHub
parent 02c10b7351
commit ad6bb74558
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,17 @@
# Template file for 'nawk' # Template file for 'nawk'
pkgname=nawk pkgname=nawk
version=20121220 version=20180823
revision=5 revision=1
create_wrksrc=yes _commit=0f4e1ba922ccd45f7bd47701e923d98566ceb7c5
wrksrc="awk-${_commit}"
hostmakedepends="bison" hostmakedepends="bison"
short_desc="The one, true implementation of AWK" short_desc="The one, true implementation of AWK"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD" license="SMLNJ"
homepage="http://cm.bell-labs.com/who/bwk/" homepage="https://github.com/onetrueawk/awk"
distfiles="http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz" changelog="https://raw.githubusercontent.com/onetrueawk/awk/master/ChangeLog"
checksum=8dc092165c5a4e1449f964286483d06d0dbfba4b0bd003cb5dab30de8f6d9b83 distfiles="https://github.com/onetrueawk/awk/archive/${_commit}.tar.gz"
checksum=fa4c0fd349c18fd62178d7c54ac340d8ba49c17a538fbe8e7f9362a973726452
provides="awk-0_1" provides="awk-0_1"
alternatives=" alternatives="
@ -19,7 +21,6 @@ alternatives="
do_configure() { do_configure() {
sed -i '/maketab/{s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/}' makefile sed -i '/maketab/{s/CC/BUILD_CC/;s/CFLAGS/BUILD_CFLAGS/}' makefile
sed -i '/YACC = yacc -d -S/ s|^|#|' makefile sed -i '/YACC = yacc -d -S/ s|^|#|' makefile
sed -n '/Copyright/,/THIS SOFTWARE\./p' README > LICENSE
sed -i 's/-lm/$(LDFLAGS) &/' makefile sed -i 's/-lm/$(LDFLAGS) &/' makefile
} }
do_build() { do_build() {