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" | |||
8 | 8 | ||
9 | inherit autotools gettext | 9 | inherit autotools gettext |
10 | 10 | ||
11 | EXTRAINSTALL = "do_install_extra" | ||
12 | EXTRAINSTALL_virtclass-native = "" | ||
13 | |||
11 | do_install () { | 14 | do_install () { |
12 | autotools_do_install | 15 | autotools_do_install |
13 | install -d ${D}${base_bindir} | 16 | install -d ${D}${base_bindir} |
14 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} | 17 | ${EXTRAINSTALL} |
15 | mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} | 18 | } |
19 | |||
20 | do_install_extra () { | ||
21 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} \ | ||
22 | mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} | ||
16 | } | 23 | } |
17 | 24 | ||
18 | pkg_postinst_${PN} () { | 25 | pkg_postinst_${PN} () { |