aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nano/nano.inc
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-05-02 16:18:51 +0400
committerRoman I Khimov <khimov@altell.ru>2010-05-02 16:19:12 +0400
commit14d2edfcfdb5990e348f95b4b2064f5befb1c043 (patch)
treef8e95ff49689423247fe7b9e3c193d2e72aa5f79 /recipes/nano/nano.inc
parent3edbdf5fa30be5f2c7820d35871d423b7c7a3011 (diff)
downloadopenembedded-14d2edfcfdb5990e348f95b4b2064f5befb1c043.tar.gz
nano: unify versions with .inc file
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/nano/nano.inc')
-rw-r--r--recipes/nano/nano.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/nano/nano.inc b/recipes/nano/nano.inc
new file mode 100644
index 0000000000..2aaaedc482
--- /dev/null
+++ b/recipes/nano/nano.inc
@@ -0,0 +1,17 @@
+DESCRIPTION = "GNU nano (Nano's ANOther editor, or \
+Not ANOther editor) is an enhanced clone of the \
+Pico text editor."
+HOMEPAGE = "http://www.nano-editor.org/"
+LICENSE = "GPLv2"
+SECTION = "console/utils"
+DEPENDS = "ncurses"
+
+INC_PR = "r0"
+
+PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+
+SRC_URI = "http://www.nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-all"