William A. Kennington III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 1 | SUMMARY = "Small and friendly console text editor" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | DESCRIPTION = "GNU nano (Nano's ANOther editor, or \ |
| 3 | Not ANOther editor) is an enhanced clone of the \ |
| 4 | Pico text editor." |
| 5 | HOMEPAGE = "http://www.nano-editor.org/" |
| 6 | SECTION = "console/utils" |
| 7 | LICENSE = "GPLv3" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" |
| 9 | |
| 10 | DEPENDS = "ncurses file" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | RDEPENDS:${PN} = "ncurses-terminfo-base" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | |
| 13 | PV_MAJOR = "${@d.getVar('PV').split('.')[0]}" |
| 14 | |
| 15 | SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 16 | SRC_URI[sha256sum] = "e43b63db2f78336e2aa123e8d015dbabc1720a15361714bfd4b1bb4e5e87768c" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 17 | |
| 18 | UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano" |
| 19 | |
| 20 | inherit autotools gettext pkgconfig |
| 21 | |
| 22 | PACKAGECONFIG[tiny] = "--enable-tiny," |