diff options
Diffstat (limited to 'meta/packages/tar/tar.inc')
| -rw-r--r-- | meta/packages/tar/tar.inc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/packages/tar/tar.inc b/meta/packages/tar/tar.inc deleted file mode 100644 index cf72d4893b..0000000000 --- a/meta/packages/tar/tar.inc +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | DESCRIPTION = "GNU tar saves many files together into a single tape \ | ||
| 2 | or disk archive, and can restore individual files from the archive." | ||
| 3 | HOMEPAGE = "http://www.gnu.org/software/tar/" | ||
| 4 | SECTION = "base" | ||
| 5 | |||
| 6 | SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2" | ||
| 7 | |||
| 8 | inherit autotools gettext | ||
| 9 | |||
| 10 | do_install () { | ||
| 11 | autotools_do_install | ||
| 12 | install -d ${D}${base_bindir} | ||
| 13 | mv ${D}${bindir}/tar ${D}${base_bindir}/tar.${PN} | ||
| 14 | mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} | ||
| 15 | } | ||
| 16 | |||
| 17 | pkg_postinst_${PN} () { | ||
| 18 | update-alternatives --install ${base_bindir}/tar tar tar.${PN} 100 | ||
| 19 | update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 100 | ||
| 20 | } | ||
| 21 | |||
| 22 | pkg_prerm_${PN} () { | ||
| 23 | update-alternatives --remove tar tar.${PN} | ||
| 24 | update-alternatives --remove rmt rmt.${PN} | ||
| 25 | } | ||
