summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-03-15 13:34:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 13:31:31 +0000
commit0b3f43c81bea71a5e8c240aba8d97999fcf560ab (patch)
tree1df8b4ec8d72b8e7ac39ccb4582176b2cdda055d /meta/recipes-extended
parenta9e4b94f799e41a2b06f833a8b411ebee3939430 (diff)
downloadopenembedded-core-0b3f43c81bea71a5e8c240aba8d97999fcf560ab.tar.gz
openembedded-core-0b3f43c81bea71a5e8c240aba8d97999fcf560ab.tar.bz2
openembedded-core-0b3f43c81bea71a5e8c240aba8d97999fcf560ab.tar.xz
openembedded-core-0b3f43c81bea71a5e8c240aba8d97999fcf560ab.zip
gawk: fix packaging warnings
WARNING: For recipe gawk, the following files/directories were installed but not shipped in any package: WARNING: /usr/bin/dgawk WARNING: /usr/bin/awk Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/gawk/gawk_4.0.0.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-extended/gawk/gawk_4.0.0.bb b/meta/recipes-extended/gawk/gawk_4.0.0.bb
index 1a2f36134..977feb90e 100644
--- a/meta/recipes-extended/gawk/gawk_4.0.0.bb
+++ b/meta/recipes-extended/gawk/gawk_4.0.0.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
RDEPENDS_gawk += "gawk-common"
RDEPENDS_pgawk += "gawk-common"
-PR = "r0"
+PR = "r1"
SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz"
@@ -20,14 +20,20 @@ SRC_URI[sha256sum] = "c3a7cf7d976e05c6a1d8a9b3f14fa55d4304707408ddafb1396212653e
inherit autotools gettext update-alternatives
-PACKAGES += "gawk-common pgawk"
+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
+}