blob: 0642287c980fe63e21e2e2601e5f4e7755282b9d [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Small and friendly console text editor"
2DESCRIPTION = "GNU nano (Nano's ANOther editor, or \
3Not ANOther editor) is an enhanced clone of the \
4Pico text editor."
5HOMEPAGE = "http://www.nano-editor.org/"
6SECTION = "console/utils"
7LICENSE = "GPL-3.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
9
10DEPENDS = "ncurses file"
11RDEPENDS:${PN} = "ncurses-terminfo-base"
12
13PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
14
15SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060016SRC_URI[sha256sum] = "86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526"
Andrew Geissler517393d2023-01-13 08:55:19 -060017
18UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
19
20inherit autotools gettext pkgconfig
21
22PACKAGECONFIG[tiny] = "--enable-tiny,"