summaryrefslogtreecommitdiff
path: root/packages/mc
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-01-06 16:12:01 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-01-06 16:12:01 +0000
commit32f10f15a2968b8e1a15da735e1a9a0124555cd2 (patch)
treebc5f9902e1258995aa15ece9bd073c25ef3c6e93 /packages/mc
parentb5b1f3d827664343fbbf3c32eb84d62a36265f29 (diff)
mc: More fine-grained packaging.
* Split extfs scripts (mc-extfs) and syntax highlighting (mc-hilite), each 100KB+, out of main package.
Diffstat (limited to 'packages/mc')
-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"