This is imported from oe.dev
(From meta-openembedded rev:
15c289f145be27f8583802813404fd8bd0ae34bb)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
DEPENDS = "libxml-simple-perl-native"
+PR = "r1"
+
SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"
SRC_URI[md5sum] = "2c5c7a418e5eb3268f65e21993277fba"
SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c"
inherit autotools
+do_configure_append() {
+ # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
+ sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/icon-name-mapping.pl.in
+}
+
FILES_${PN} += "${datadir}/dtds"
BBCLASSEXTEND = "native"