diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 13:24:47 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-04-10 14:43:41 +0200 |
commit | 89500c583e0f1dc1b4ffdf72914e08e505e427e0 (patch) | |
tree | b073036cc61aa34ca5ac9eec4d617366e0dcb3d5 /meta-oe/recipes-support/nano | |
parent | e66079da37992abd54486488aa06a99bf7a4198c (diff) | |
download | meta-openembedded-89500c583e0f1dc1b4ffdf72914e08e505e427e0.tar.gz |
recipes,classes: import a lot of recipes from meta-shr
* tested on shr-lite-image for om-gta02 and nokia900 (with meta-shr layer)
Diffstat (limited to 'meta-oe/recipes-support/nano')
-rw-r--r-- | meta-oe/recipes-support/nano/nano-2.2.5/ncursesw.includedir.patch | 12 | ||||
-rw-r--r-- | meta-oe/recipes-support/nano/nano.inc | 19 | ||||
-rw-r--r-- | meta-oe/recipes-support/nano/nano_2.2.5.bb | 8 |
3 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/nano/nano-2.2.5/ncursesw.includedir.patch b/meta-oe/recipes-support/nano/nano-2.2.5/ncursesw.includedir.patch new file mode 100644 index 000000000..0f224be39 --- /dev/null +++ b/meta-oe/recipes-support/nano/nano-2.2.5/ncursesw.includedir.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff -uNr nano-2.2.5.orig//configure.ac nano-2.2.5/configure.ac | ||
2 | --- nano-2.2.5.orig//configure.ac 2010-08-06 03:00:51.000000000 +0200 | ||
3 | +++ nano-2.2.5/configure.ac 2010-08-10 14:11:52.000000000 +0200 | ||
4 | @@ -442,7 +442,7 @@ | ||
5 | AC_CHECK_HEADERS(ncurses.h) | ||
6 | |||
7 | if test x$enable_utf8 != xno; then | ||
8 | - AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CPPFLAGS="-I/usr/include/ncursesw $CPPFLAGS" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) | ||
9 | + AC_CHECK_LIB(ncursesw, get_wch, [CURSES_LIB="-lncursesw" CURSES_LIB_NAME=ncursesw CURSES_LIB_WIDE=yes]) | ||
10 | fi | ||
11 | |||
12 | if eval "test x$CURSES_LIB_NAME = x"; then | ||
diff --git a/meta-oe/recipes-support/nano/nano.inc b/meta-oe/recipes-support/nano/nano.inc new file mode 100644 index 000000000..2d52cab88 --- /dev/null +++ b/meta-oe/recipes-support/nano/nano.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | DESCRIPTION = "GNU nano (Nano's ANOther editor, or \ | ||
2 | Not ANOther editor) is an enhanced clone of the \ | ||
3 | Pico text editor." | ||
4 | HOMEPAGE = "http://www.nano-editor.org/" | ||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" | ||
7 | SECTION = "console/utils" | ||
8 | DEPENDS = "ncurses" | ||
9 | RDEPENDS_${PN} = "ncurses-terminfo" | ||
10 | |||
11 | INC_PR = "r2" | ||
12 | |||
13 | PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | ||
14 | |||
15 | SRC_URI = "http://www.nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.gz" | ||
16 | |||
17 | inherit autotools gettext | ||
18 | |||
19 | EXTRA_OECONF = "--enable-all" | ||
diff --git a/meta-oe/recipes-support/nano/nano_2.2.5.bb b/meta-oe/recipes-support/nano/nano_2.2.5.bb new file mode 100644 index 000000000..e656f46df --- /dev/null +++ b/meta-oe/recipes-support/nano/nano_2.2.5.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | include nano.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI += "file://ncursesw.includedir.patch" | ||
6 | |||
7 | SRC_URI[md5sum] = "77a10a49589f975ce98350a4527a2ebf" | ||
8 | SRC_URI[sha256sum] = "9015945d1badabbada203b37c4779d3dd1066234235c714deb439989c5cd7d9e" | ||