diff options
Diffstat (limited to 'meta/recipes-extended/tar/tar.inc')
-rw-r--r-- | meta/recipes-extended/tar/tar.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-extended/tar/tar.inc b/meta/recipes-extended/tar/tar.inc index 5246efc5af..f83fb46012 100644 --- a/meta/recipes-extended/tar/tar.inc +++ b/meta/recipes-extended/tar/tar.inc @@ -8,11 +8,18 @@ SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2" inherit autotools gettext +EXTRAINSTALL = "do_install_extra" +EXTRAINSTALL_virtclass-native = "" + do_install () { autotools_do_install install -d ${D}${base_bindir} - mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} - mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} + ${EXTRAINSTALL} +} + +do_install_extra () { + mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} \ + mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} } pkg_postinst_${PN} () { |