blob: 85c81fb7993a48acc97fb2d628a95986a59902a7 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001SUMMARY = "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 = "GPLv3"
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"
16SRC_URI[sha256sum] = "757db8cda4bb2873599e47783af463e3b547a627b0cabb30ea7bf71fb4c24937"
17
18UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
19
20inherit autotools gettext pkgconfig
21
22PACKAGECONFIG[tiny] = "--enable-tiny,"