libgpg-error: fix riscv64
[openadk.git] / package / gawk / Makefile
blobf87014088f12c61a4796024b39cac15bcae8b925
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= gawk
7 PKG_VERSION:= 4.2.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= d1119785e746d46a8209d28b2de404a57f983aa48670f4e225531d3bdc175551
10 PKG_DESCR:= awk programming language interpreter
11 PKG_SECTION:= base/tools
12 PKG_URL:= http://www.gnu.org/software/gawk/
13 PKG_SITES:= ${MASTER_SITE_GNU:=gawk/}
14 PKG_BB:= 1
16 include ${ADK_TOPDIR}/mk/host.mk
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call HOST_template,GAWK,gawk,${PKG_VERSION}-${PKG_RELEASE}))
20 $(eval $(call PKG_template,GAWK,gawk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 HOST_CONFIGURE_ARGS+= --disable-shared
23 CONFIGURE_ARGS+= --disable-libsigsegv
25 gawk-install:
26 ${INSTALL_DIR} ${IDIR_GAWK}/usr/bin
27 ${INSTALL_BIN} ${WRKINST}/usr/bin/gawk ${IDIR_GAWK}/usr/bin
29 include ${ADK_TOPDIR}/mk/host-bottom.mk
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk