blob: 146ad55c657ee25ac8a07b641c33d2266cafc7bb [file] [log] [blame]
William A. Kennington IIIb95905d2021-06-02 12:40:56 -07001SUMMARY = "Small and friendly console text editor"
Andrew Geissler82c905d2020-04-13 13:39:40 -05002DESCRIPTION = "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"
Patrick Williams213cb262021-08-07 19:21:33 -050011RDEPENDS:${PN} = "ncurses-terminfo-base"
Andrew Geissler82c905d2020-04-13 13:39:40 -050012
13PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
14
15SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
Andrew Geissler69721092021-07-23 12:57:00 -040016SRC_URI[sha256sum] = "e43b63db2f78336e2aa123e8d015dbabc1720a15361714bfd4b1bb4e5e87768c"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
18UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
19
20inherit autotools gettext pkgconfig
21
22PACKAGECONFIG[tiny] = "--enable-tiny,"