summaryrefslogtreecommitdiff
path: root/mc/mc_4.6.0.oe
blob: 7bade72a1b8a61032aa401f8254c208642294e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "GNU Midnight Commander is a file \
manager for free operating systems."
SECTION = "base"
PRIORITY = "optional"
RDEPENDS = "libc6 libncurses5 glib-2.0"
DEPENDS = "virtual/libc ncurses glib-2.0"

SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-${PV}.tar.gz"

inherit autotools

EXTRA_OECONF = "--disable-glibtest --without-x --without-samba \
--without-nfs --without-gpm-mouse"

do_configure() {
	oe_runconf
}

do_install() {
	cd src
	oe_runmake 'DESTDIR=${D}' install
	cd ../syntax
	oe_runmake 'DESTDIR=${D}' install
	cd ../po
	oe_runmake 'DESTDIR=${D}' install
	cd ../vfs
	oe_runmake 'DESTDIR=${D}' install
	cd ..
}