summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/mc/mc.inc12
-rw-r--r--packages/mc/mc_4.6.0.bb1
-rw-r--r--packages/mc/mc_4.6.1.bb1
3 files changed, 13 insertions, 1 deletions
diff --git a/packages/mc/mc.inc b/packages/mc/mc.inc
index 58a8fdf51b..039fea6a61 100644
--- a/packages/mc/mc.inc
+++ b/packages/mc/mc.inc
@@ -6,7 +6,6 @@ SECTION = "console/utils"
PRIORITY = "optional"
DEPENDS = "ncurses glib-2.0"
RDEPENDS = "ncurses-terminfo"
-PR ="r1"
SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-${PV}.tar.gz"
@@ -15,6 +14,17 @@ inherit autotools
EXTRA_OECONF = "--disable-glibtest --without-x --without-samba \
--without-nfs --without-gpm-mouse --with-screen=ncurses"
+PACKAGES += "${PN}-extfs ${PN}-hilite"
+FILES_${PN} = "${bindir}/ ${libdir}/ ${datadir}/mc/*.*"
+FILES_${PN}-extfs = "${datadir}/mc/extfs/"
+FILES_${PN}-hilite = "${datadir}/mc/syntax/"
+RRECOMMENDS_${PN} += "${PN}-extfs ${PN}-hilite"
+RDEPENDS_${PN}-extfs = "${PN}"
+RDEPENDS_${PN}-hilite = "${PN}"
+PACKAGE_ARCH_${PN}-extfs = "all"
+PACKAGE_ARCH_${PN}-hilite = "all"
+
+
do_configure() {
gnu-configize
oe_runconf
diff --git a/packages/mc/mc_4.6.0.bb b/packages/mc/mc_4.6.0.bb
index d00bb45d70..e5c18784be 100644
--- a/packages/mc/mc_4.6.0.bb
+++ b/packages/mc/mc_4.6.0.bb
@@ -1 +1,2 @@
require mc.inc
+PR = "r2"
diff --git a/packages/mc/mc_4.6.1.bb b/packages/mc/mc_4.6.1.bb
index d00bb45d70..e5c18784be 100644
--- a/packages/mc/mc_4.6.1.bb
+++ b/packages/mc/mc_4.6.1.bb
@@ -1 +1,2 @@
require mc.inc
+PR = "r2"