Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | SUMMARY = "Small and friendly console text editor" |
| 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 = "GPL-3.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" |
| 9 | |
| 10 | DEPENDS = "ncurses file" |
| 11 | RDEPENDS:${PN} = "ncurses-terminfo-base" |
| 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" |
| 16 | SRC_URI[sha256sum] = "4199ae8ca78a7796de56de1a41b821dc47912c0307e9816b56cc317df34661c0" |
| 17 | |
| 18 | UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano" |
| 19 | |
| 20 | inherit autotools gettext pkgconfig |
| 21 | |
| 22 | PACKAGECONFIG[tiny] = "--enable-tiny," |