Add mc to openembedded-extras

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@431 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2006-05-26 13:47:41 +00:00
parent 3108df8b95
commit 2feda9dba7
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
DESCRIPTION = "GNU Midnight Commander is a file \
manager for free operating systems."
HOMEPAGE = "http://www.ibiblio.org/mc/"
LICENSE = "GPLv2"
SECTION = "console/utils"
PRIORITY = "optional"
DEPENDS = "ncurses glib-2.0"
RDEPENDS = "ncurses-terminfo"
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() {
gnu-configize
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 ..
}