DESCRIPTION = "A program that you can use to select particular records in a \ file and perform operations upon them." HOMEPAGE = "www.gnu.org/software/gawk" BUGTRACKER = "bug-gawk@gnu.org" SECTION = "console/utils" # gawk <= 3.1.5: GPLv2 # gawk >= 3.1.6: GPLv3 LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" RDEPENDS_gawk += "gawk-common" RDEPENDS_pgawk += "gawk-common" PR = "r1" SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" SRC_URI[md5sum] = "51e417b71287629940051e6f652c6492" SRC_URI[sha256sum] = "c3a7cf7d976e05c6a1d8a9b3f14fa55d4304707408ddafb1396212653ea00be5" inherit autotools gettext update-alternatives PACKAGES += "gawk-common pgawk dgawk" FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk" FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" FILES_pgawk = "${bindir}/pgawk*" FILES_${PN}-dbg += "${libexecdir}/awk/.debug" FILES_dgawk = "${bindir}/dgawk*" ALTERNATIVE_NAME = "awk" ALTERNATIVE_PATH = "gawk" ALTERNATIVE_LINK = "${bindir}/awk" ALTERNATIVE_PRIORITY = "100" do_install_append() { # remove the link since we don't package it rm ${D}${bindir}/awk }