diff options
Diffstat (limited to 'meta/recipes-extended/gawk/gawk_4.0.2.bb')
-rw-r--r-- | meta/recipes-extended/gawk/gawk_4.0.2.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk_4.0.2.bb b/meta/recipes-extended/gawk/gawk_4.0.2.bb new file mode 100644 index 0000000000..d5cc52d16d --- /dev/null +++ b/meta/recipes-extended/gawk/gawk_4.0.2.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | DESCRIPTION = "A program that you can use to select particular records in a \ | ||
2 | file and perform operations upon them." | ||
3 | HOMEPAGE = "www.gnu.org/software/gawk" | ||
4 | BUGTRACKER = "bug-gawk@gnu.org" | ||
5 | SECTION = "console/utils" | ||
6 | |||
7 | # gawk <= 3.1.5: GPLv2 | ||
8 | # gawk >= 3.1.6: GPLv3 | ||
9 | LICENSE = "GPLv3" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
11 | |||
12 | DEPENDS += "readline" | ||
13 | |||
14 | RDEPENDS_gawk += "gawk-common" | ||
15 | RDEPENDS_pgawk += "gawk-common" | ||
16 | PR = "r0" | ||
17 | |||
18 | SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" | ||
19 | |||
20 | SRC_URI[md5sum] = "4d505dc2c9f1eb3e9f8d6cac87d4bd1a" | ||
21 | SRC_URI[sha256sum] = "6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a" | ||
22 | |||
23 | inherit autotools gettext update-alternatives | ||
24 | |||
25 | PACKAGES += "gawk-common pgawk dgawk" | ||
26 | |||
27 | FILES_${PN} = "${bindir}/gawk* ${bindir}/igawk" | ||
28 | FILES_gawk-common += "${datadir}/awk/* ${libexecdir}/awk/*" | ||
29 | FILES_pgawk = "${bindir}/pgawk*" | ||
30 | FILES_${PN}-dbg += "${libexecdir}/awk/.debug" | ||
31 | FILES_dgawk = "${bindir}/dgawk*" | ||
32 | |||
33 | ALTERNATIVE_${PN} = "awk" | ||
34 | ALTERNATIVE_TARGET[awk] = "${bindir}/gawk" | ||
35 | ALTERNATIVE_PRIORITY = "100" | ||
36 | |||
37 | do_install_append() { | ||
38 | # remove the link since we don't package it | ||
39 | rm ${D}${bindir}/awk | ||
40 | } | ||