aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/nano/nano_3.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/nano/nano_3.2.bb')
-rw-r--r--meta-oe/recipes-support/nano/nano_3.2.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/nano/nano_3.2.bb b/meta-oe/recipes-support/nano/nano_3.2.bb
new file mode 100644
index 0000000000..dbc5487935
--- /dev/null
+++ b/meta-oe/recipes-support/nano/nano_3.2.bb
@@ -0,0 +1,21 @@
+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/"
+SECTION = "console/utils"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
+
+DEPENDS = "ncurses file"
+RDEPENDS_${PN} = "ncurses-terminfo-base"
+
+PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
+
+SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
+
+SRC_URI[md5sum] = "2606dc0dc31a088f16c7d603b42d23d0"
+SRC_URI[sha256sum] = "d12773af3589994b2e4982c5792b07c6240da5b86c5aef2103ab13b401fe6349"
+
+inherit autotools gettext pkgconfig
+
+PACKAGECONFIG[tiny] = "--enable-tiny,"