summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mc/mc_4.8.23.bb
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-06-24 01:21:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-27 12:20:36 +0100
commitb111ac57aebd9928765b9bb8ee2fb4eb3c74972a (patch)
treea4f621e7b7bd55f6f2c9e58eaf7b7a06b306236c /meta/recipes-extended/mc/mc_4.8.23.bb
parentc2f055257e9086b1a07abb442ba7a6a060d31904 (diff)
downloadpoky-b111ac57aebd9928765b9bb8ee2fb4eb3c74972a.tar.gz
mc: update to 4.8.23
(From OE-Core rev: 7ad36194dc42191b4da29fd29fb3869feb8b0d30) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mc/mc_4.8.23.bb')
-rw-r--r--meta/recipes-extended/mc/mc_4.8.23.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-extended/mc/mc_4.8.23.bb b/meta/recipes-extended/mc/mc_4.8.23.bb
new file mode 100644
index 0000000000..83de8dbb2c
--- /dev/null
+++ b/meta/recipes-extended/mc/mc_4.8.23.bb
@@ -0,0 +1,49 @@
1SUMMARY = "Midnight Commander is an ncurses based file manager"
2HOMEPAGE = "http://www.midnight-commander.org/"
3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=270bbafe360e73f9840bd7981621f9c2"
5SECTION = "console/utils"
6DEPENDS = "ncurses glib-2.0 util-linux"
7RDEPENDS_${PN} = "ncurses-terminfo"
8
9SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
10 file://0001-mc-replace-perl-w-with-use-warnings.patch \
11 "
12SRC_URI[md5sum] = "152927ac29cf0e61d7d019f261bb7d89"
13SRC_URI[sha256sum] = "238c4552545dcf3065359bd50753abbb150c1b22ec5a36eaa02c82808293267d"
14
15inherit autotools gettext pkgconfig
16
17#
18# Both Samba (smb) and sftp require package delivered from meta-openembedded
19#
20PACKAGECONFIG ??= ""
21PACKAGECONFIG[smb] = "--enable-vfs-smb,--disable-vfs-smb,samba,"
22PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
23
24EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x"
25
26CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
27
28do_install_append () {
29 sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/*
30
31 rm ${D}${libexecdir}/mc/extfs.d/s3+ ${D}${libexecdir}/mc/extfs.d/uc1541
32}
33
34PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers ${BPN}-fish"
35
36SUMMARY_${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts"
37FILES_${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \
38 ${libexecdir}/mc/extfs.d/deb ${libexecdir}/mc/extfs.d/deba \
39 ${libexecdir}/mc/extfs.d/debd ${libexecdir}/mc/extfs.d/dpkg+ \
40 ${libexecdir}/mc/extfs.d/mailfs ${libexecdir}/mc/extfs.d/patchfs \
41 ${libexecdir}/mc/extfs.d/rpms+ ${libexecdir}/mc/extfs.d/ulib \
42 ${libexecdir}/mc/extfs.d/uzip"
43RDEPENDS_${BPN}-helpers-perl = "perl"
44
45SUMMARY_${BPN}-helpers = "Midnight Commander shell helper scripts"
46FILES_${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*"
47
48SUMMARY_${BPN}-fish = "Midnight Commander Fish scripts"
49FILES_${BPN}-fish = "${libexecdir}/mc/fish"