diff options
Diffstat (limited to 'meta/recipes-extended/mc/mc_4.8.18.bb')
| -rw-r--r-- | meta/recipes-extended/mc/mc_4.8.18.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/mc/mc_4.8.18.bb b/meta/recipes-extended/mc/mc_4.8.18.bb new file mode 100644 index 0000000000..78abb275ba --- /dev/null +++ b/meta/recipes-extended/mc/mc_4.8.18.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | SUMMARY = "Midnight Commander is an ncurses based file manager" | ||
| 2 | HOMEPAGE = "http://www.midnight-commander.org/" | ||
| 3 | LICENSE = "GPLv3" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2" | ||
| 5 | SECTION = "console/utils" | ||
| 6 | DEPENDS = "ncurses glib-2.0 util-linux" | ||
| 7 | RDEPENDS_${PN} = "ncurses-terminfo" | ||
| 8 | |||
| 9 | SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \ | ||
| 10 | " | ||
| 11 | SRC_URI[md5sum] = "cc56f0c9abd63c4caa3636bba3a08bfb" | ||
| 12 | SRC_URI[sha256sum] = "5b591e10dcbea95233434da40cdad4663d360229adf89826576c319667c103cb" | ||
| 13 | |||
| 14 | inherit autotools gettext pkgconfig | ||
| 15 | |||
| 16 | # | ||
| 17 | # Both Samba (smb) and sftp require package delivered from meta-openembedded | ||
| 18 | # | ||
| 19 | PACKAGECONFIG ??= "" | ||
| 20 | PACKAGECONFIG[smb] = "--enable-vfs-smb,--disable-vfs-smb,samba," | ||
| 21 | PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2," | ||
| 22 | |||
| 23 | EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x" | ||
| 24 | |||
| 25 | do_install_append () { | ||
| 26 | sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/* | ||
| 27 | sed -i -e '1s,#!.*python,#!${bindir}/env python,' ${D}${libexecdir}/mc/extfs.d/* | ||
| 28 | } | ||
| 29 | |||
| 30 | PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers-python ${BPN}-helpers ${BPN}-fish" | ||
| 31 | |||
| 32 | SUMMARY_${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts" | ||
| 33 | FILES_${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \ | ||
| 34 | ${libexecdir}/mc/extfs.d/deb ${libexecdir}/mc/extfs.d/deba \ | ||
| 35 | ${libexecdir}/mc/extfs.d/debd ${libexecdir}/mc/extfs.d/dpkg+ \ | ||
| 36 | ${libexecdir}/mc/extfs.d/mailfs ${libexecdir}/mc/extfs.d/patchfs \ | ||
| 37 | ${libexecdir}/mc/extfs.d/rpms+ ${libexecdir}/mc/extfs.d/ulib \ | ||
| 38 | ${libexecdir}/mc/extfs.d/uzip" | ||
| 39 | RDEPENDS_${BPN}-helpers-perl = "perl" | ||
| 40 | |||
| 41 | SUMMARY_${BPN}-helpers-python = "Midnight Commander Python-based helper scripts" | ||
| 42 | FILES_${BPN}-helpers-python = "${libexecdir}/mc/extfs.d/s3+ ${libexecdir}/mc/extfs.d/uc1541" | ||
| 43 | RDEPENDS_${BPN}-helpers-python = "python" | ||
| 44 | |||
| 45 | SUMMARY_${BPN}-helpers = "Midnight Commander shell helper scripts" | ||
| 46 | FILES_${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*" | ||
| 47 | |||
| 48 | SUMMARY_${BPN}-fish = "Midnight Commander Fish scripts" | ||
| 49 | FILES_${BPN}-fish = "${libexecdir}/mc/fish" | ||
