Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "GNU nano (Nano's ANOther editor, or \ |
| 2 | Not ANOther editor) is an enhanced clone of the \ |
| 3 | Pico text editor." |
| 4 | HOMEPAGE = "http://www.nano-editor.org/" |
| 5 | SECTION = "console/utils" |
| 6 | LICENSE = "GPLv3" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" |
| 8 | |
| 9 | DEPENDS = "ncurses file" |
| 10 | RDEPENDS_${PN} = "ncurses-terminfo-base" |
| 11 | |
| 12 | PV_MAJOR = "${@d.getVar('PV').split('.')[0]}" |
| 13 | |
| 14 | SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" |
Andrew Geissler | eafcbb8 | 2020-06-05 17:59:17 -0500 | [diff] [blame] | 15 | SRC_URI[md5sum] = "52137a960ae8b3ca6d7dab6767fe6e5f" |
| 16 | SRC_URI[sha256sum] = "6e3438f033a0ed07d3d74c30d0803cbda3d2366ba1601b7bbf9b16ac371f51b4" |
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," |