summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gawk/gawk_4.0.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/gawk/gawk_4.0.2.bb')
-rw-r--r--meta/recipes-extended/gawk/gawk_4.0.2.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-extended/gawk/gawk_4.0.2.bb b/meta/recipes-extended/gawk/gawk_4.0.2.bb
index 424b6b0077..eb86af39da 100644
--- a/meta/recipes-extended/gawk/gawk_4.0.2.bb
+++ b/meta/recipes-extended/gawk/gawk_4.0.2.bb
@@ -16,7 +16,9 @@ DEPENDS += "readline"
16RDEPENDS_gawk += "gawk-common" 16RDEPENDS_gawk += "gawk-common"
17RDEPENDS_pgawk += "gawk-common" 17RDEPENDS_pgawk += "gawk-common"
18 18
19SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz" 19SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \
20 file://run-ptest \
21"
20 22
21SRC_URI[md5sum] = "4d505dc2c9f1eb3e9f8d6cac87d4bd1a" 23SRC_URI[md5sum] = "4d505dc2c9f1eb3e9f8d6cac87d4bd1a"
22SRC_URI[sha256sum] = "6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a" 24SRC_URI[sha256sum] = "6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a"
@@ -39,3 +41,12 @@ do_install_append() {
39 # remove the link since we don't package it 41 # remove the link since we don't package it
40 rm ${D}${bindir}/awk 42 rm ${D}${bindir}/awk
41} 43}
44
45inherit ptest
46
47do_install_ptest() {
48 mkdir ${D}${PTEST_PATH}/test
49 for i in `grep -vE "@|^$|#|Gt-dummy" ${S}/test/Maketests |awk -F: '{print $1}'` Maketests; \
50 do cp ${S}/test/$i* ${D}${PTEST_PATH}/test; \
51 done
52}